Re: Ayuda sobre Indices

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "julio(dot)caicedo(at)genome-it(dot)com" <julio(dot)caicedo(at)genome-it(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Ayuda sobre Indices
Date: 2007-01-26 23:51:17
Message-ID: c2d9e70e0701261551g43b486efo749dde05a286db55@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Si quieres escribir en español, por favor, escribe a
pgsql-es-ayuda(at)postgresql(dot)org
esta es una lista en ingles. Tu respuesta abajo...

On 1/25/07, julio(dot)caicedo(at)genome-it(dot)com <julio(dot)caicedo(at)genome-it(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2007-01-27 00:39:21 Re: Speaking of upgrades...
Previous Message George Weaver 2007-01-26 23:40:58 Re: Loop plpgsql recordset