Re: Proposed patch: make pg_dump --data-only consider FK constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Proposed patch: make pg_dump --data-only consider FK constraints
Date: 2008-09-07 19:06:26
Message-ID: 20667.1220814386@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter <david(at)fetter(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-07 19:10:53 Re: Proposed patch: make pg_dump --data-only consider FK constraints
Previous Message Alvaro Herrera 2008-09-07 19:04:48 Re: Proposed patch: make pg_dump --data-only consider FK constraints