Are there routines that allow me to list databases within PostGres ?
Pete
Re: Writing code to list Databases ?
От:
Joe Conway <mail@joeconway.com>
Дата:
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