How do I write a script that .....

From: David Brusowankin <david(at)brusowankin(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: How do I write a script that .....
Date: 2002-11-26 02:28:29
Message-ID: 3DE2DC4D.3000202@brusowankin.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

A couple of newbie questions here:

1. How do I write a script that creates a database if it doesn't exist,
but if it does, then check to see if the tables are there ?

2. How do I change databases from within psql ?

3. How do I list the tables in a database ?

Please respond directly vie email (david(at)cenozoa(dot)com).

Thanks so much for any help.

David
--
____________________________
David Brusowankin
Voice: 201.287.1527
Email: david(at)brusowankin(dot)net

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-11-26 03:23:03 Re: importing DB2 timestamp?
Previous Message Patrick Hatcher 2002-11-25 23:32:41 importing DB2 timestamp?