From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: Renato Oliveira <renato.oliveira@grant.co.uk>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: List of postgreSQL databases
Date: Tue, 06 Apr 2010 14:33:52 +0300
Message-ID: <1270553632.11550.7.camel@hp-laptop2.gunduz.org> (raw)
In-Reply-To: <7965A9DCF12CC14984420BCC37B1608F25ABF30DE5@Elzar.grant.co.uk>
References: <7965A9DCF12CC14984420BCC37B1608F25ABF30DE5@Elzar.grant.co.uk>
On Tue, 2010-04-06 at 12:22 +0100, Renato Oliveira wrote:
>
> I know to get a list of all databases on the system one can use: \l or
> (back slash) (ell)
>
> Is there a specific 'STATEMENT' to display the same thing?
Run psql with -E parameter, and then run \l. You'll see the query
there .
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduzAttachments:
signature.asc (application/pgp-signature, 197B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: devrim@gunduz.org, renato.oliveira@grant.co.uk
Subject: Re: List of postgreSQL databases
In-Reply-To: <1270553632.11550.7.camel@hp-laptop2.gunduz.org>
References: <7965A9DCF12CC14984420BCC37B1608F25ABF30DE5@Elzar.grant.co.uk> <1270553632.11550.7.camel@hp-laptop2.gunduz.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox