Re: 'show databases' in psql way?

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: 'show databases' in psql way?
Дата
Msg-id 5.2.1.1.0.20041101072247.03e4c3c0@pop6.sympatico.ca
обсуждение исходный текст
Ответ на 'show databases' in psql way?  (Erik Wasser <erik.wasser@iquer.net>)
Список pgsql-sql
At 07:13 AM 11/1/04, Erik Wasser wrote:
>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? I don't want to call
>an external program only to list the databases. I've googled about this
>problem but I only found the '-l'-way to this this.


The -e switch of psql will display queries behind commands.  So use this 
option, the use 'l' as a command instead of a switch.

Frank



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

Предыдущее
От: Erik Wasser
Дата:
Сообщение: 'show databases' in psql way?
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: 'show databases' in psql way?