Re: List of postgreSQL databases

From: Renato Oliveira <renato(dot)oliveira(at)grant(dot)co(dot)uk>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: List of postgreSQL databases
Date: 2010-04-06 12:48:45
Message-ID: 7965A9DCF12CC14984420BCC37B1608F25ABF30E2F@Elzar.grant.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Devrim,

Thank you very much

Renato

Renato Oliveira
Systems Administrator
e-mail: renato(dot)oliveira(at)grant(dot)co(dot)uk

Tel: +44 (0)1763 260811
Fax: +44 (0)1763 262410
http://www.grant.co.uk/

Grant Instruments (Cambridge) Ltd

Company registered in England, registration number 658133

Registered office address:
29 Station Road,
Shepreth,
CAMBS SG8 6GB
UK

-----Original Message-----

From: Devrim GÜNDÜZ [mailto:devrim(at)gunduz(dot)org]
Sent: 06 April 2010 12:34
To: Renato Oliveira
Cc: pgsql-admin
Subject: Re: [ADMIN] List of postgreSQL databases

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 Danismani/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

-----Original Message-----

P Please consider the environment before printing this email
CONFIDENTIALITY: The information in this e-mail and any attachments is confidential. It is intended only for the named recipients(s). If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person or take copies.

VIRUSES: The contents of this e-mail or attachment(s) may contain viruses which could damage your own computer system. Whilst Grant Instruments (Cambridge) Ltd has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening the attachment(s).

OpenXML: For information about the OpenXML file format in use within Grant Instruments please visit our http://www.grant.co.uk/Support/openxml.html

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andreas 'ads' Scherbaum 2010-04-06 12:59:38 Re: Database level encryption
Previous Message Renato Oliveira 2010-04-06 12:47:06 Re: List of postgreSQL databases