BUG #3850: Incompatibility among pg_dump / pg_restore.

Поиск
Список
Период
Сортировка
От Diego Spano
Тема BUG #3850: Incompatibility among pg_dump / pg_restore.
Дата
Msg-id 200801041848.m04ImBkq051396@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3850: Incompatibility among pg_dump / pg_restore.  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3850
Logged by:          Diego Spano
Email address:      djspano@jus.gov.ar
PostgreSQL version: 8.1.9
Operating system:   Debian Etch 4.0
Description:        Incompatibility among pg_dump / pg_restore.
Details:

I have two servers running Debian Etch 4.0 and Postgres 8.1.9. and want to
copy Database_A from server1 to server2. It is suppossed that
pg_dump/pg_restore should have no problems.

In server1 run pg_dump, then run pg_restore on server2, but the database
can´t be restored because pg_restore want to restore table rows that have
foreign keys before table that have the primary keys.

"pg_restore: ERROR:  the new record for relation «archivo» violates
restriction. Check "subfk_archivo_seremp".

And records are not added obviously.

I think that pg_dump should export database tablas according to constraints
and relations, don´t?

Thank s for any help.

Diego Spano

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Duplicate values found when reindexing unique index
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: BUG #3850: Incompatibility among pg_dump / pg_restore.