Re: listing databases - Mailing list pgsql-php

From Tod McQuillin
Subject Re: listing databases
Date
Msg-id Pine.GSO.4.21.0011011004460.6485-100000@sysadmin
Whole thread Raw
In response to listing databases  (magnus <reduct@asa.de>)
Responses Re: listing databases
List pgsql-php
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



pgsql-php by date:

Previous
From: Dan Wilson
Date:
Subject: Re: listing databases
Next
From: Tod McQuillin
Date:
Subject: Re: listing databases