Re: Anyone working on pg_dump dependency ordering?

Поиск
Список
Период
Сортировка
От ow
Тема Re: Anyone working on pg_dump dependency ordering?
Дата
Msg-id 20031124021157.72911.qmail@web21402.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Anyone working on pg_dump dependency ordering?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> FK, primary, and unique constraints are already split out from the
> CREATE TABLE for performance reasons.  We could think about folding them
> back in in a schema-only dump, but in a full dump I don't think it's
> negotiable --- you really want to load the table data before you install
> these constraints.

IMHO, not only data need to loaded before FK constraints are created but also
there has got to be a feature to allow creation of an FK constraint WITHOUT
doing the verification that all loaded/existing records satisfy the FK
constraint. The ability to create a FK constraint without verification of
existing records should exist by itself (maybe only to superuser) and also as
an option in pg_restore. 

More details:
http://archives.postgresql.org/pgsql-admin/2003-11/msg00308.php
http://archives.postgresql.org/pgsql-admin/2003-11/msg00323.php


Thanks







__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Executable files in CVS
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Executable files in CVS