Re: list databases with SQL command

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: list databases with SQL command
Дата
Msg-id 200501181213.53812.peter_e@gmx.net
обсуждение исходный текст
Ответ на list databases with SQL command  (David Teran <david.teran@cluster9.com>)
Список pgsql-general
Am Dienstag, 18. Januar 2005 11:32 schrieb David Teran:
> maybe its a silly question, but is there a way to list all databases
> with an SQL command? I know about the \l command from psql, but i
> wonder if such things are possible with SQL.

SELECT * FROM pg_database;

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-general по дате отправления:

Предыдущее
От: "Iavor Raytchev"
Дата:
Сообщение: one or two tables
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: list databases with SQL command