Re: Not valid dump [8.2.9, 8.3.1]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Not valid dump [8.2.9, 8.3.1]
Дата
Msg-id 17094.1213972653@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Not valid dump [8.2.9, 8.3.1]  (Gaetano Mendola <mendola@gmail.com>)
Ответы Re: Not valid dump [8.2.9, 8.3.1]
Список pgsql-hackers
Gaetano Mendola <mendola@gmail.com> writes:
> we have faced lately dumps not valid, the bug can be replicated using a 8.2.9 or
> a 8.3.1 server.

> These are the steps to create the database that will generate a not valid dump:

This is a bug in your function: it will not work if the search path
doesn't contain the public schema.  You'd be best advised to make it
qualify the reference to t_public explicitly.

In 8.3 another possibility would be to attach an explicit search_path
setting to the function.

(Of course you realize that referencing any table at all in an
"immutable" function is probably a mortal sin...)
        regards, tom lane


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ecpg generated files ignorable?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backend Stats Enhancement Request