Re: Proposed patch: make pg_dump --data-only consider FK constraints - Mailing list pgsql-hackers

From David Fetter
Subject Re: Proposed patch: make pg_dump --data-only consider FK constraints
Date
Msg-id 20080907185240.GH18398@fetter.org
Whole thread Raw
In response to Proposed patch: make pg_dump --data-only consider FK constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposed patch: make pg_dump --data-only consider FK constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Sep 07, 2008 at 02:06:40PM -0400, Tom Lane wrote:
> Okay, I got tired of seeing people complain about foreign-key
> constraint violations in data-only dumps.

Isn't this something solved in the more general case by having
pre-data, data, and post-data dump options?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Some newbie questions
Next
From: Alvaro Herrera
Date:
Subject: Re: Proposed patch: make pg_dump --data-only consider FK constraints