Re: Proposed patch: make pg_dump --data-only consider FK constraints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposed patch: make pg_dump --data-only consider FK constraints
Дата
Msg-id 21004.1220815043@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposed patch: make pg_dump --data-only consider FK constraints  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Heikki Linnakangas wrote:
>> How about printing that notice at the top of the dump file as well?

> I assume that this trick will only work at restore time only for custom
> or tar dumps.  A text-only dump would produce the warning to stderr at
> dump time, no?

Yes, the warning (and the re-sorting) must happen at dump time.  Given a
data-only dump, pg_restore wouldn't even have the information needed to
do anything about this.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposed patch: make pg_dump --data-only consider FK constraints
Следующее
От: Martin Pihlak
Дата:
Сообщение: Re: reducing statistics write overhead