Re: Sometimes pg_dump generates dump which is not restorable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sometimes pg_dump generates dump which is not restorable
Дата
Msg-id 27805.1226679939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sometimes pg_dump generates dump which is not restorable  ("Dmitry Koterov" <dmitry@koterov.ru>)
Ответы Re: Sometimes pg_dump generates dump which is not restorable  ("Dmitry Koterov" <dmitry@koterov.ru>)
Список pgsql-hackers
"Dmitry Koterov" <dmitry@koterov.ru> writes:
> Thank you for a possible solution.
> But what about the database which exists and works correctly (and conforms
> all the standards from the documentation), but dump+restore sequence is
> failed for it? Does it mean that pg_dump should be improved to pass
> dump+restore sequence?

No matter what pg_dump does, it can never guarantee that a non-immutable
check constraint will still pass at restore time ... and that's
basically what you've got, if the check function is
search-path-sensitive.
        regards, tom lane


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

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: CREATE AGGREGATE disallows STYPE = internal
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)