Re: Ayuda sobre Indices - Mailing list pgsql-general

From Jaime Casanova
Subject Re: Ayuda sobre Indices
Date
Msg-id c2d9e70e0701261551g43b486efo749dde05a286db55@mail.gmail.com
Whole thread Raw
In response to Ayuda sobre Indices  (julio.caicedo@genome-it.com)
List pgsql-general
Si quieres escribir en español, por favor, escribe a
pgsql-es-ayuda@postgresql.org
esta es una lista en ingles. Tu respuesta abajo...

On 1/25/07, julio.caicedo@genome-it.com <julio.caicedo@genome-it.com> wrote:
> Buen Dia.
>
> Por favor si saben como, me gustaria saber como puedo eliminar un indice
> PERO SOLO si este existe. Como valido si existe o no el indice para luego
> eliminarlo ??
>
> Gracias.
>

from 8.2 you can do:

DROP INDEX IF EXISTS name ;

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

pgsql-general by date:

Previous
From: George Weaver
Date:
Subject: Re: Loop plpgsql recordset
Next
From: Douglas McNaught
Date:
Subject: Re: Speaking of upgrades...