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

From Tom Lane
Subject Re: Proposed patch: make pg_dump --data-only consider FK constraints
Date
Msg-id 20667.1220814386@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposed patch: make pg_dump --data-only consider FK constraints  (David Fetter <david@fetter.org>)
List pgsql-hackers
David Fetter <david@fetter.org> writes:
> 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?

No, not unless you expect that that patch will somehow forbid people
from using data-only dumps.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Proposed patch: make pg_dump --data-only consider FK constraints
Next
From: Tom Lane
Date:
Subject: Re: Proposed patch: make pg_dump --data-only consider FK constraints