pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wim Paulussen <wim@chen.be>
To: pgsql-php@postgresql.org
Subject: get list of databases and tables in Postgres
Date: Mon, 01 Mar 2004 12:00:57 +0100
Message-ID: <404317E9.2050004@chen.be> (raw)

LS,

Hope you can help : I am looking for equivalent sql statement for the 
following in MySQL :
SHOW DATABASES

I found out that for the tables you can connect to a Postgresql specific 
table information_schema.tables , but what is the corresponding table 
for the names of databases under Postgresql ?

All help is highly appreciated.





view thread (7+ messages)  latest in thread

Message-ID: <404317E9.2050004@chen.be>
Permalink:  ../404317E9.2050004@chen.be/
Also on:    postgresql.org/message-id/404317E9.2050004@chen.be

 · 

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 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-php@postgresql.org
  Cc: wim@chen.be
  Subject: Re: get list of databases and tables in Postgres
  In-Reply-To: <404317E9.2050004@chen.be>
  References: <404317E9.2050004@chen.be>

* 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