Re: BUG #14192: pg_dump/pg_restore omit setting search_path in restored db

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: BUG #14192: pg_dump/pg_restore omit setting search_path in restored db
Дата
Msg-id bb66f4a9-ca80-c3c6-7e1c-99ede46ec844@hogranch.com
обсуждение исходный текст
Ответ на Re: BUG #14192: pg_dump/pg_restore omit setting search_path in restored db  ("Hans Buschmann" <buschmann@nidsa.net>)
Список pgsql-bugs
On 6/15/2016 8:49 AM, Hans Buschmann wrote:
>
> Even the syntax (ALTER DATABASE xxxdb SET SEARCH PATH) suggests this
> to be part of the database and not of a session or the cluster.

that syntax is indeed stored with the database schema, and would be part
of a database dump.

you also can simply SET search_path 'somevalue';    and this applies
only to the current session, and wouldn't be part of the database


--
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #14192: pg_dump/pg_restore omit setting search_path in restored db
Следующее
От: "Hans Buschmann"
Дата:
Сообщение: Re: BUG #14192: pg_dump/pg_restore omit setting search_path in restored db