Re: audit trail and system catalogs

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: audit trail and system catalogs
Дата
Msg-id Pine.BSF.4.21.0106060912530.15715-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на audit trail and system catalogs  (Markus Wagner <wagner@imsd.uni-mainz.de>)
Список pgsql-sql
On Wed, 6 Jun 2001, Markus Wagner wrote:


> The problem is, how to get the names of all tables and their attributes? I 
> looked into the system tables ("pg_*"), but there were many tables and 
> many attributes for *my* tables, and I did not figure out how to 
> distinguish my tables and my attributes from the other ones. None of the 
> columns in pg_class and pg_attribute seems to give information on wether 
> the item is system or user defined.

IIRC, attnum<0 means it's a system column. So you only want the ones with
positive attnum values.




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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Tutorial : using foreign keys, retrictions etc
Следующее
От: george young
Дата:
Сообщение: Re: seleting all dates between two dates