Re: Unexpected omission of tables with duplicate names across schemas

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unexpected omission of tables with duplicate names across schemas
Дата
Msg-id 16656.1285694276@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unexpected omission of tables with duplicate names across schemas  (Chris Ross <cross@markmonitor.com>)
Ответы Re: Unexpected omission of tables with duplicate names across schemas  (Chris Ross <cross@markmonitor.com>)
Список pgsql-bugs
Chris Ross <cross@markmonitor.com> writes:
>    When there is a table (or view, or sequence) of the same name in one
> schema as another, and both of these schemas are in the set search_path,
> only the first schema in the search path will show that name in the
> output of \d[S+].  (Also \dt, \dv, etc)

That's the intended behavior, because only the first one is actually
accessible without schema-qualifying its name.  You can use a pattern
of "*.*" if you want to see objects that are hidden according to the
search path.  The default behavior is equivalent to a pattern of "*",
which only shows objects reachable with unqualified names.

            regards, tom lane

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

Предыдущее
От: Chris Ross
Дата:
Сообщение: Unexpected omission of tables with duplicate names across schemas
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LEFT OUTER JOIN sub-SELECT produces a column != NULL when all NULLs are expected