Re: pg_dump restore time and Foreign Keys - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump restore time and Foreign Keys
Date
Msg-id 19956.1213025599@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump restore time and Foreign Keys  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: pg_dump restore time and Foreign Keys  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On Mon, 2008-06-09 at 10:57 -0400, Tom Lane wrote:
>> Ah, finally a useful comment.  I think it might be possible to do an
>> "add FK concurrently" type of command that would take exclusive lock

> That's good, but it doesn't solve the original user complaint about
> needing to re-run many, many large queries to which we already know the
> answer.

No, we are running a large query to which the user *thinks* he knows the
answer.  There are any number of reasons why he might be wrong.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Potential deadlock with auto-analyze
Next
From: Simon Riggs
Date:
Subject: Re: pg_dump restore time and Foreign Keys