Re: listing databases

From: Tod McQuillin <devin(at)spamcop(dot)net>
To: magnus <reduct(at)asa(dot)de>
Cc: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: Re: listing databases
Date: 2000-11-01 16:05:32
Message-ID: Pine.GSO.4.21.0011011004460.6485-100000@sysadmin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Tod McQuillin 2000-11-01 16:10:38 Re: listing databases
Previous Message Dan Wilson 2000-11-01 15:38:06 Re: listing databases