Re: SQL Command - To List Tables ?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Peter Moscatt <pgmoscatt(at)optushome(dot)com(dot)au>, "PostgreSQL [GENERAL] List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL Command - To List Tables ?
Date: 2003-08-28 03:17:31
Message-ID: 20030828031731.GA7185@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 27, 2003 at 08:09:16 -0500,
Bruno Wolff III <bruno(at)wolff(dot)to> wrote:
> On Wed, Aug 27, 2003 at 20:37:14 +1000,
> Peter Moscatt <pgmoscatt(at)optushome(dot)com(dot)au> wrote:
> > Is there a SQL command I can issue which will list all the TABLES within
> > a database ?
>
> select datname from pg_database;

This was an oops. I misread your question as asking for all databases,
not tables.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-28 03:25:39 Re: plpgsql FOUND Variable
Previous Message Alex 2003-08-28 03:08:16 Re: plpgsql FOUND Variable