Re: Get a list of databases?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Get a list of databases?
Дата
Msg-id 20070227061043.GA14945@a-kretschmer.de
обсуждение исходный текст
Ответ на Get a list of databases?  ("Neil Aggarwal" <neil@JAMMConsulting.com>)
Список pgsql-novice
am  Mon, dem 26.02.2007, um 22:52:57 -0600 mailte Neil Aggarwal folgendes:
> Hello:
>
> My code needs to be able to allow the user to select which
> database to connect to.
>
> Is there a programmatic way to get a list of the databases
> managed by a pgsql server?

You can use the output from following command:

psql -l


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: "Neil Aggarwal"
Дата:
Сообщение: Get a list of databases?
Следующее
От: joseph speigle
Дата:
Сообщение: Re: Get a list of databases?