Re: Bug #578: pg_dumpall from 7.1.3 can not be imported in

Поиск
Список
Период
Сортировка
От Rainer Tammer
Тема Re: Bug #578: pg_dumpall from 7.1.3 can not be imported in
Дата
Msg-id 200202090659.HAA11353@gatekeeper.schuler.de
обсуждение исходный текст
Ответ на Re: Bug #578: pg_dumpall from 7.1.3 can not be imported in  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-bugs
Hello,

On Fri, 8 Feb 2002 11:32:50 -0800 (PST), Stephan Szabo wrote:

>
>On Fri, 8 Feb 2002 pgsql-bugs@postgresql.org wrote:
>
>> 2. tables with complex foreign key constrains will not be imported
>
>I probably couldn't help with the other question, but...
>
>What do you mean by this?  Does it error on the creation, does it
>make the tables but not the constraints?
>

Unfortunately I get creation errors on a couple of tables.
As a result the table and the data are missing in the new 7.2 DB.

I think the problem is, that the order in which the tables / constrains are
exported is not coerect.

Postgres tries to import the tables in the wrong order.

Example:

Table A depends on table B.
Unfortunately table B will be imported AFTER table A.
Result: table A will not be imported; the date from table A will not be importet.


Bye
  Rainer Tammer

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Bug #578: pg_dumpall from 7.1.3 can not be imported in
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #578: pg_dumpall from 7.1.3 can not be imported in 7.2.0