Re: BUG #12106: pg_dump does not resolve circular dependency

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #12106: pg_dump does not resolve circular dependency
Дата
Msg-id 21684.1417370077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #12106: pg_dump does not resolve circular dependency  (David G Johnston <david.g.johnston@gmail.com>)
Ответы Re: BUG #12106: pg_dump does not resolve circular dependency  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
David G Johnston <david.g.johnston@gmail.com> writes:
> Tom Lane-2 wrote
>> Unless you can demonstrate a credible use-case for this, I don't think
>> it's worth adding complexity to pg_dump for.

> Assuming: "Even worse, pg_dump returns 0 as the exit code, even though
> the dump is not usable. It merely issues a warning on output." is
> confirmed I would assume that it would need to be fixed.

"Not usable" is hyperbole.  The actual effect would be that the particular
function would fail to restore, but the rest of it would be fine.

I should note that it's not like we've never seen any other cases of
pg_dump failing to deal with circular dependencies.  Issuing a warning
and pushing on is *way* better than refusing the dump entirely.

            regards, tom lane

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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: BUG #12106: pg_dump does not resolve circular dependency
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] BUG #12070: hstore extension: hstore_to_json_loose produces invalid JSON