sql scripts

From: Sam Carleton <ehc(at)linux-info(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: sql scripts
Date: 2003-10-19 02:37:00
Message-ID: 20031019023700.GA20814@miltonstreet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message mathan 2003-10-20 05:06:55 Re: postgres installed via rpms -can't run postmaster or
Previous Message Mailing List 2003-10-18 21:30:06 Re: postgres installed via rpms -can't run postmaster or