Re: BUG #15101: function set search_path = '' breaks dump/restore

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: BUG #15101: function set search_path = '' breaks dump/restore
Дата
Msg-id 876067kl4j.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на BUG #15101: function set search_path = '' breaks dump/restore  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
>>>>> "PG" == PG Bug reporting form <noreply@postgresql.org> writes:

 PG> Given:

 PG> create or replace function foo()
 PG>  returns text language sql
 PG>  as $$
 PG>   select current_schemas(true)::text;
 PG>  $$
 PG>  set search_path = '';

For the record, the workaround I suggested to the user on IRC who ran
into this issue was:

alter function foo() set search_path = pg_catalog;

which has (as far as I can tell) exactly the same runtime effect as
setting it to '' but doesn't break dump/restore.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15101: function set search_path = '' breaks dump/restore
Следующее
От: Marius Vaičiulis
Дата:
Сообщение: 9.6.7 -> 9.6.8 analyze worker behaviour changed?