Re: test the existence of a database - Mailing list pgsql-sql

From Steve Brett
Subject Re: test the existence of a database
Date
Msg-id a3e5hj$1mgv$1@news.tht.net
Whole thread Raw
List pgsql-sql
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
>
>




pgsql-sql by date:

Previous
From: Dedov Anton
Date:
Subject: Again about foreign keys and inheritance
Next
From: "Steve Brett"
Date:
Subject: Re: Index Management