Re: 'show databases' in psql way? - Mailing list pgsql-sql

From Frank Bax
Subject Re: 'show databases' in psql way?
Date
Msg-id 5.2.1.1.0.20041101072247.03e4c3c0@pop6.sympatico.ca
Whole thread Raw
In response to 'show databases' in psql way?  (Erik Wasser <erik.wasser@iquer.net>)
List 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 by date:

Previous
From: Erik Wasser
Date:
Subject: 'show databases' in psql way?
Next
From: Ian Barwick
Date:
Subject: Re: 'show databases' in psql way?