Re: describe working as intended?

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Sergei Kornilov <sk(at)zsrv(dot)org>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: describe working as intended?
Date: 2019-05-21 18:19:10
Message-ID: CAAKRu_a5nLdrccGusx0Vok5hq0QaOi+GqRUMhmF4EVDnZWPF3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, May 18, 2019 at 1:17 AM Sergei Kornilov <sk(at)zsrv(dot)org> wrote:

> Hello
>
> No, this is not bug. This is expected beharior of search_path setting:
> https://www.postgresql.org/docs/current/runtime-config-client.html
>
> > Likewise, the current session's temporary-table schema, pg_temp_nnn, is
> always searched if it exists. It can be explicitly listed in the path by
> using the alias pg_temp. If it is not listed in the path then it is
> searched first
>
> psql \d command checks current search_path (by pg_table_is_visible call).
> You can use \d *.t1 syntax to display tables with such name in all schemas.
>
> regards, Sergei
>

Thanks! I suppose it would behoove me to check the documentation
before resorting to looking at the source code :)

--
Melanie Plageman

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-05-21 18:27:33 Re: Re: Re: Refresh Publication takes hours and doesn´t finish
Previous Message Andres Freund 2019-05-21 18:12:56 Re: New EXPLAIN option: ALL