IF EXISTS - Mailing list pgsql-general

From P.M
Subject IF EXISTS
Date
Msg-id 20051114212059.40218.qmail@web33208.mail.mud.yahoo.com
Whole thread Raw
Responses Re: IF EXISTS  (Bruno Wolff III <bruno@wolff.to>)
Re: IF EXISTS  (Jaime Casanova <systemguards@gmail.com>)
List pgsql-general
Hi,

I would like to know if "IF EXISTS" exists under
postgresql ?
because i did not find it.

before to create users or database, i would like to be
sure that they do not exist already.

so how can i test it and do something like :

IF EXISTS database "test" DROP database "test";

thanks a lot,
Maileen



__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: [8.1] "drop table" in plpgsql function
Next
From: Bruno Wolff III
Date:
Subject: Re: IF EXISTS