Re: pg_dump and search_path
От
Igal @ Lucee.org
Тема
Re: pg_dump and search_path
Дата
Msg-id
fb97c1ee-71c6-f513-1345-e894c8d66547@lucee.org
Ответ на
pg_dump and search_path (Igal @ Lucee.org)
Список
Дерево обсуждения
pg_dump and search_path "Igal @ Lucee.org" <igal@lucee.org>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump and search_path "Igal @ Lucee.org" <igal@lucee.org>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump and search_path "Igal @ Lucee.org" <igal@lucee.org>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump and search_path Ryan Lambert <ryan@rustprooflabs.com>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump and search_path Ryan Lambert <ryan@rustprooflabs.com>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump and search_path "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_dump and search_path "Igal @ Lucee.org" <igal@lucee.org>
Re: pg_dump and search_path "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_dump and search_path "Igal @ Lucee.org" <igal@lucee.org>
Re: pg_dump and search_path Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_dump and search_path Ron <ronljohnsonjr@gmail.com>
Re: pg_dump and search_path Adrian Klaver <adrian.klaver@aklaver.com>
On 7/8/2019 11:48 PM, Igal @ Lucee.org wrote:
>
> I have a custom search_path:
>
> # show search_path;
> search_path
> ----------------------------------
> "staging, transient, pg_catalog"
> (1 row)
>
> I ran `pg_dump --schema-only` and the only reference in the output to
> search_path is:
>
> SELECT pg_catalog.set_config('search_path', '', false);
>
> Then one of my functions which does not reference the full name of a
> table with its schema fails with "relation [rel-name] does not exist".
>
> Is that a bug? I have seen some old posts about this issue but am not
> sure if there is a ticket or why it still is an issue.
>
Looks like this might be by design. I will follow the links at
https://www.postgresql.org/message-id/flat/MWHPR14MB160079A6D9DC64A2F60E9004C0D00%40MWHPR14MB1600.namprd14.prod.outlook.com
and ask more questions if I have them.
I might need to add the schema name to the table in my function.
Igal
В списке pgsql-general по дате отправления