Re: [GENERAL] listing all tables

Поиск
Список
Период
Сортировка
От Fandarel
Тема Re: [GENERAL] listing all tables
Дата
Msg-id 199807161851.OAA25429@hub.org
обсуждение исходный текст
Ответы Re: [GENERAL] listing all tables  (Rostislav Matl <xmatl@informatics.muni.cz>)
Список pgsql-general
>   How would I list all tables in a database?

You can list all tables with:

select * from pg_class;

but that will give you system tables also.

I think that if you use the \z command in psql, it will give you a list
of all tables in the current database.

Matt


В списке pgsql-general по дате отправления:

Предыдущее
От: Fandarel
Дата:
Сообщение: Tables with oid
Следующее
От: "Ryan Mchale"
Дата:
Сообщение: Autonumbering column