Re: test the existence of a database

Поиск
Список
Период
Сортировка
От Steve Brett
Тема Re: test the existence of a database
Дата
Msg-id a3e5hj$1mgv$1@news.tht.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Dedov Anton
Дата:
Сообщение: Again about foreign keys and inheritance
Следующее
От: "Steve Brett"
Дата:
Сообщение: Re: Index Management