Обсуждение: Writing code to list Databases ?

Поиск
Список
Период
Сортировка

Writing code to list Databases ?

От
Peter Moscatt
Дата:
Are there routines that allow me to list databases within PostGres ?

Pete



Re: Writing code to list Databases ?

От
Joe Conway
Дата:
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