Re: Missing data in Information Schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing data in Information Schema
Дата
Msg-id 7214.1130955813@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Missing data in Information Schema  (George Weaver <gweaver@shaw.ca>)
Список pgsql-novice
George Weaver <gweaver@shaw.ca> writes:
> This morning while trying to generate a file of metadata I found that =
> most of the views in Information_Schema are empty, for example =
> referential_constraints, table_constraints, etc.

The information_schema is mostly restricted to show you info about
objects you own --- if you run your test as a superuser, do you get
more info?

(This behavior is per SQL:1999.  We recently noticed that SQL:2003 seems
to be laxer and allow you to see info about objects you can access, not
just those you own.  We'll probably fix PG 8.2 to follow that behavior,
but it's too late for 8.1.)

            regards, tom lane

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

Предыдущее
От: George Weaver
Дата:
Сообщение: Missing data in Information Schema
Следующее
От: George Weaver
Дата:
Сообщение: Re: Missing data in Information Schema