Re: Get list of tables in a database

Поиск
Список
Период
Сортировка
От SZUCS Gábor
Тема Re: Get list of tables in a database
Дата
Msg-id 00fd01c29b10$86d1e5c0$0a03a8c0@fejleszt2
обсуждение исходный текст
Ответ на Get list of tables in a database  (Riyaz@umapinc.com)
Список 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 по дате отправления:

Предыдущее
От: "Mihai Gheorghiu"
Дата:
Сообщение: Migration again
Следующее
От: wsheldah@lexmark.com
Дата:
Сообщение: Re: Postgresql -- initial impressions and comments