Re: Eliminate information_schema from oid2name listing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Eliminate information_schema from oid2name listing
Дата
Msg-id 4040.1058794607@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Eliminate information_schema from oid2name listing  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Eliminate information_schema from oid2name listing  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Kenji Sugita writes:
>> This small patch eliminates relations in information_schema from oid2name
>> listing.

> Why would one want to do that?

AFAICS the point of oid2name is to provide a mapping between disk file
names and table names.  As such, what it *ought* to be doing is
suppressing views, since those don't have disk files --- they are only
cluttering the listing with irrelevant data.  If we put that in, there'd
be no need to special-case information_schema.

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Release.sgml markup
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] pg_tables view definition incorrect??