From: Steve Brett <steve.brett@e-mis.com>
To: pgsql-sql@postgresql.org
Subject: Re: test the existence of a database
Date: Fri, 1 Feb 2002 13:29:36 -0000
Message-ID: <a3e5hj$1mgv$1@news.tht.net> (raw)
References: <Pine.GSO.4.31.0201311451080.6396-100000@ux11.cso.uiuc.edu>
psql -l
will list the databases.
psql <database name> will give to access to the command line sql environment
and once you're in there /dt will list the tables ...
Steve
"D'laila Pereira" <dpereira@students.uiuc.edu> wrote in message
news:Pine.GSO.4.31.0201311451080.6396-100000@ux11.cso.uiuc.edu...
>
> After a database is created in postgresql using the createdb command,
> and populate it with some taqbles, how do we test the existence of the
> database and the tables within it?
>
> thanks
> d'laila
>
>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: steve.brett@e-mis.com
Subject: Re: test the existence of a database
In-Reply-To: <a3e5hj$1mgv$1@news.tht.net>
* 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