Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2CA31634D40 for ; Tue, 6 Apr 2010 08:34:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 48882-09 for ; Tue, 6 Apr 2010 11:33:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gunduz.org (ns1.gunduz.org [77.79.103.58]) by mail.postgresql.org (Postfix) with ESMTP id A86DE633A7D for ; Tue, 6 Apr 2010 08:33:59 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.gunduz.org (Postfix) with ESMTP id E4512400049; Tue, 6 Apr 2010 14:34:56 +0300 (EEST) X-Virus-Scanned: amavisd-new at mail.gunduz.org Received: from mail.gunduz.org ([127.0.0.1]) by localhost (mail.gunduz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zISvR6F0JWEC; Tue, 6 Apr 2010 14:34:55 +0300 (EEST) Received: from [10.15.1.91] (unknown [84.51.49.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gunduz.org (Postfix) with ESMTPSA id 5638D400046; Tue, 6 Apr 2010 14:34:55 +0300 (EEST) Subject: Re: List of postgreSQL databases From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: Renato Oliveira Cc: pgsql-admin In-Reply-To: <7965A9DCF12CC14984420BCC37B1608F25ABF30DE5@Elzar.grant.co.uk> References: <7965A9DCF12CC14984420BCC37B1608F25ABF30DE5@Elzar.grant.co.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hWUpNVd2N+iYmSpfoaYs" Date: Tue, 06 Apr 2010 14:33:52 +0300 Message-ID: <1270553632.11550.7.camel@hp-laptop2.gunduz.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/37 X-Sequence-Number: 34131 --=-hWUpNVd2N+iYmSpfoaYs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2010-04-06 at 12:22 +0100, Renato Oliveira wrote: >=20 > I know to get a list of all databases on the system one can use: \l or > (back slash) (ell) >=20 > Is there a specific 'STATEMENT' to display the same thing?=20 Run psql with -E parameter, and then run \l. You'll see the query there . Regards, --=20 Devrim G=C3=9CND=C3=9CZ PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/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/devrimgunduz --=-hWUpNVd2N+iYmSpfoaYs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAku7HB8ACgkQtl86P3SPfQ4X1ACgxA5NZmlyU4zyrhT+stQOsSUc X8MAoKYexSd5OUcfjX3jFFnjqC8QbIyR =rQ1N -----END PGP SIGNATURE----- --=-hWUpNVd2N+iYmSpfoaYs--