Re: data dictionary
От | Brett W. McCoy |
---|---|
Тема | Re: data dictionary |
Дата | |
Msg-id | Pine.LNX.4.30.0101190636070.11365-100000@chapelperilous.net обсуждение исходный текст |
Ответ на | data dictionary ("Matthew Taylor" <bmatthewtaylor@hotmail.com>) |
Список | pgsql-general |
On Fri, 19 Jan 2001, Matthew Taylor wrote: > Umm I must have missed it in the manual, (read it 3-4 times tho) but what is > the equivalent data dictionary structure in Postgres to the following in > Oracle. > > Select table_name from user_tables; > > (gives a list of the table names in the database(table space) used at the > time) > > etc.... various special tables defining the data dictionary.... Take a look at pg_class and pg_tables (which is a view based on pg_class), which are available for each schema: select * from pg_tables where tableowner=CURRENT_USER; -- Brett http://www.chapelperilous.net/~bmccoy/ --------------------------------------------------------------------------- A woman without a man is like a fish without a bicycle. -- Gloria Steinem
В списке pgsql-general по дате отправления: