Re: 'show databases' in psql way?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: 'show databases' in psql way?
Дата
Msg-id 63533a400e3d9e681c7b819780c5cd35@biglumber.com
обсуждение исходный текст
Ответ на 'show databases' in psql way?  (Erik Wasser <erik.wasser@iquer.net>)
Список pgsql-sql
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> how can I list the databases in a postgresish way? I know
> about the '-l' switch of 'psql' but is there a DBI/SQL-query way?
Yes, the DBI way is to use the "data_sources" function. Works
just fine for Postgres:
my @dbs = DBI->data_sources('Pg');
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200411012240
-----BEGIN PGP SIGNATURE-----
iD8DBQFBhwIHvJuQZxSWSsgRArd1AJ9hKXD+cSaM2L3RUXQdabuRofNFjwCfaHT0
+bRPuYhuED0mnlp1FRtvQQw=
=tsqe
-----END PGP SIGNATURE-----




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

Предыдущее
От: T E Schmitz
Дата:
Сообщение: Re: Join Table
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Join Table