From: Tod McQuillin <devin@spamcop.net>
To: magnus <reduct@asa.de>
Cc: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: Re: listing databases
Date: Wed, 1 Nov 2000 10:05:32 -0600 (CST)
Message-ID: <Pine.GSO.4.21.0011011004460.6485-100000@sysadmin> (raw)
In-Reply-To: <3A0030A1.81831A88@asa.de>
On Wed, 1 Nov 2000, magnus wrote:
> Hello,
> Can anyone tell me how to list (1.) databases and (2.) tables in a
> database using php?
To list databases, run
psql -l
from your unix shell prompt.
Once connected, enter \dt to list the tables.
--
Tod McQuillin
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: devin@spamcop.net, reduct@asa.de
Subject: Re: listing databases
In-Reply-To: <Pine.GSO.4.21.0011011004460.6485-100000@sysadmin>
References: <3A0030A1.81831A88@asa.de> <Pine.GSO.4.21.0011011004460.6485-100000@sysadmin>
* 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