Re: BUG #15353: \det (list foreign tables) ignoring search_path

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: BUG #15353: \det (list foreign tables) ignoring search_path
Дата
Msg-id 875zzyyvjh.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на BUG #15353: \det (list foreign tables) ignoring search_path  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
>>>>> "PG" == PG Bug reporting form <noreply@postgresql.org> writes:

 PG> Looks like that the   \det[+] [PATTERN]      list foreign tables
 PG> ignoring current searh_path settings:

Nope, what you're missing is that pg_catalog is implicitly on the front
of the search path (if not otherwise specified), so
pg_catalog.pg_stat_user_tables is considered to "hide"
public.pg_stat_user_tables. Object X in schema Y is only considered
"visible" if using the unqualified name "X" actually resolves to the Y.X
object, and in this case, if one just refers to "pg_stat_user_tables"
one gets pg_catalog.pg_stat_user_tables, not public.pg_stat_user_tables.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15353: \det (list foreign tables) ignoring search_path
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #15348: Postgres 8.4 accepte les connexions entrantes