Re: pg_dump and search_path

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: pg_dump and search_path
Дата
Msg-id 49d1a724-f79b-56fe-adef-86e27faed5c4@aklaver.com
обсуждение исходный текст
Ответ на Re: pg_dump and search_path  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
On 7/9/19 6:28 AM, Ron wrote:

> 
> Then should search_path be set at the end of pg_restore?
> 

1) That would be to late for anything happening in the restore.

2) The:

SELECT pg_catalog.set_config('search_path', '', false);

only applies to the restore session. After the restore the search_path 
will return to whatever has been configured.



-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: SuperUser permission denied when creating table.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SuperUser permission denied when creating table.