From: Adam Lang <aalang@rutgersinsurance.com>
Cc: pgsql-php@postgresql.org
Subject: Re: listing databases
Date: Wed, 1 Nov 2000 11:41:43 -0500
Message-ID: <018701c04422$9df91ee0$330a0a0a@6014cwpza006> (raw)
References: <Pine.GSO.4.21.0011011004460.6485-100000@sysadmin>
How would you use that with PHP though? Can you get the info back as
something you can parse or interpret?
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Tod McQuillin" <devin@spamcop.net>
To: "magnus" <reduct@asa.de>
Cc: <pgsql-php@postgresql.org>
Sent: Wednesday, November 01, 2000 11:05 AM
Subject: Re: [PHP] listing databases
> 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: aalang@rutgersinsurance.com
Subject: Re: listing databases
In-Reply-To: <018701c04422$9df91ee0$330a0a0a@6014cwpza006>
References: <Pine.GSO.4.21.0011011004460.6485-100000@sysadmin> <018701c04422$9df91ee0$330a0a0a@6014cwpza006>
* 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