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
>