Re: Get list of tables in a database - Mailing list pgsql-general

From SZUCS Gábor
Subject Re: Get list of tables in a database
Date
Msg-id 00fd01c29b10$86d1e5c0$0a03a8c0@fejleszt2
Whole thread Raw
In response to Get list of tables in a database  (Riyaz@umapinc.com)
List pgsql-general
There is a relation called pg_class in PostgreSQL, but it contains not only
tables, but also contains views and probably more. Check it.

G.
--
while (!asleep()) sheep++;

---------------------------- cut here ------------------------------
----- Original Message -----
From: <Riyaz@umapinc.com>
Sent: Tuesday, December 03, 2002 9:12 PM


> Hi,
>
>       I am looking for a SQL query which will return me the names of all
> the tables in a database. I want to use this in my php page to generate a
> list of tables given the name of database.
>
> Thanks in advance,
> Riyaz


pgsql-general by date:

Previous
From: "Mihai Gheorghiu"
Date:
Subject: Migration again
Next
From: wsheldah@lexmark.com
Date:
Subject: Re: Postgresql -- initial impressions and comments