Re: pg_dump - wrong order with inheritance

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_dump - wrong order with inheritance
Дата
Msg-id CAB7nPqTe1-Gm4MAytDQO2fvHa55k63YoxCy+QSSZJO4nOawjvA@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dump - wrong order with inheritance  (pinker <pinker@onet.eu>)
Список pgsql-bugs
On Mon, Nov 23, 2015 at 9:27 PM, pinker <pinker@onet.eu> wrote:
> Some tables are inherited. Maybe it's the issue with right order by inheritance? Maybe I can somehow force another
order?

pg_dump is usually able to take care of that automatically and dumps
the data in an order that makes sense by looking at the tree
dependency of relations. One way that would allow you to bypass this
error in any case is to use pg_dump --disable-triggers so as those
integrity checks are disabled when loading the data. This will add in
the dump the necessary commands to do so, thought reloading the dump
will need superuser rights.
--
Michael

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

Предыдущее
От: pinker
Дата:
Сообщение: pg_dump - wrong order with inheritance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump - wrong order with inheritance