Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions
Date
Msg-id 20474.1321725464@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions  (lindebg <lindebg@gmail.com>)
List pgsql-bugs
lindebg <lindebg@gmail.com> writes:
> On 11/19/2011 04:34 AM, Tom Lane wrote:
>> Color me skeptical.  Under what conceivable use-case could you have
>> functions that were mutually dependent in that way?  And actually did
>> something useful (not recurse till stack overflow) when called?

> Does this mean that this situation will not be handled by pg_dump /
> pg_restore?

If you can convince me that there is some actual real-world use case for
a situation like this, I might think about complicating pg_dump to the
point where it would handle it.  If it's only an artificial corner case,
I don't think that the added complexity (and ensuing long-term
maintenance costs, plus risk of new bugs) is worth it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: lindebg
Date:
Subject: Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions
Next
From: "Diego Elio Pettenò"
Date:
Subject: BUG #6302: Certificate lookup fails for users with /dev/null as home directory