From: Sam Carleton <ehc@linux-info.net>
To: pgsql-admin@postgresql.org
Subject: sql scripts
Date: Sat, 18 Oct 2003 22:37:00 -0400
Message-ID: <20031019023700.GA20814@miltonstreet.com> (raw)
I am new to postgres and your mailing lists, please let me know if I
am posting in the wrong list.
I am working on creating my first database in Postgres. In the
script that will create all the tables for the firs time, I would
like to have a conditional statement to delete a table, if it
already exists. I know the other databases create such a condtional
statement for you when you export the schema. What would such a
conditional statement look like in Postgres's sql?
sam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ehc@linux-info.net
Subject: Re: sql scripts
In-Reply-To: <20031019023700.GA20814@miltonstreet.com>
References: <20031019023700.GA20814@miltonstreet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox