Re: Writing code to list Databases ? - Mailing list pgsql-interfaces

From Joe Conway
Subject Re: Writing code to list Databases ?
Date
Msg-id 3F481B62.1000303@joeconway.com
Whole thread Raw
In response to Writing code to list Databases ?  (Peter Moscatt <pgmoscatt@optushome.com.au>)
List pgsql-interfaces
Peter Moscatt wrote:
> Are there routines that allow me to list databases within PostGres ?
> 
From a shell prompt, use `psql -l`. The SQL command is:  select datname from pg_database;

HTH,

Joe




pgsql-interfaces by date:

Previous
From: Peter Moscatt
Date:
Subject: Writing code to list Databases ?
Next
From: Michael Meskes
Date:
Subject: Re: ECPG Problem (Bug?)