pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Horst Herb <hherb@gnumed.net>
To: pgsql-sql@postgresql.org
Subject: Re: SQL to list databases?
Date: Fri, 24 Jan 2003 13:58:14 +1100
Message-ID: <200301241358.14785.hherb@gnumed.net> (raw)
In-Reply-To: <3E303AF2.10603@cms-stl.com>
References: <81132473206F3A46A72BD6116E1A06AE1B14CC@black.aprote.com>
	<26610.1043341252@sss.pgh.pa.us>
	<3E303AF2.10603@cms-stl.com>

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



view thread (8+ messages)  latest in thread

Message-ID: <200301241358.14785.hherb@gnumed.net>
Permalink:  ../200301241358.14785.hherb@gnumed.net/
Also on:    postgresql.org/message-id/200301241358.14785.hherb@gnumed.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: hherb@gnumed.net
  Subject: Re: SQL to list databases?
  In-Reply-To: <200301241358.14785.hherb@gnumed.net>

* 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