Re: [GENERAL] get the list of databases

Поиск
Список
Период
Сортировка
От Doran L. Barton
Тема Re: [GENERAL] get the list of databases
Дата
Msg-id 19991005102411.A28097@iodynamics.com
обсуждение исходный текст
Ответ на get the list of databases  (Xavier COUDIN <xavier@nnc.fr>)
Список pgsql-general
Not long ago, Xavier COUDIN proclaimed...
> using psql, it is possible to get the list of databases using the
> instruction  "\l".
>
> How can I do when I make connection through DBI/DBD ?????

Well you need to connect to *some* database (i.e. template1) and then you
can issue the following SQL query:

  SELECT * FROM PG_DATABASE;

Enjoy.

--
Doran L. Barton <fozz@iodynamics.com>
Iodynamics LLC -- "Internetworking the masses"
<URL:http://www.iodynamics.com/>

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

Предыдущее
От: Xavier COUDIN
Дата:
Сообщение: get the list of databases
Следующее
От: "Ing. Arturo de la Torre"
Дата:
Сообщение: Some information about JDBC