Re: SQL to list databases?

From: Horst Herb <hherb(at)gnumed(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: SQL to list databases?
Date: 2003-01-24 02:58:14
Message-ID: 200301241358.14785.hherb@gnumed.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, 24 Jan 2003 05:56, you wrote:
> Is there a query that will return all the databases available, similar
> to what psql -l does?

select * from pg_database;

Horst

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message codeWarrior 2003-01-24 03:47:24 Re: Rename database?
Previous Message Luke Pascoe 2003-01-24 02:56:19 CAST from VARCHAR to INT