From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12106: pg_dump does not resolve circular dependency
Date: Sun, 30 Nov 2014 12:54:37 -0500
Message-ID: <21684.1417370077@sss.pgh.pa.us> (raw)
In-Reply-To: <1417369131702-5828698.post@n5.nabble.com>
References: <20141130153705.5731.4615@wrigleys.postgresql.org>
<9283.1417365074@sss.pgh.pa.us>
<1417369131702-5828698.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
David G Johnston <david.g.johnston@gmail.com> writes:
> Tom Lane-2 wrote
>> Unless you can demonstrate a credible use-case for this, I don't think
>> it's worth adding complexity to pg_dump for.
> Assuming: "Even worse, pg_dump returns 0 as the exit code, even though
> the dump is not usable. It merely issues a warning on output." is
> confirmed I would assume that it would need to be fixed.
"Not usable" is hyperbole. The actual effect would be that the particular
function would fail to restore, but the rest of it would be fine.
I should note that it's not like we've never seen any other cases of
pg_dump failing to deal with circular dependencies. Issuing a warning
and pushing on is *way* better than refusing the dump entirely.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
Subject: Re: BUG #12106: pg_dump does not resolve circular dependency
In-Reply-To: <21684.1417370077@sss.pgh.pa.us>
References: <20141130153705.5731.4615@wrigleys.postgresql.org> <9283.1417365074@sss.pgh.pa.us> <1417369131702-5828698.post@n5.nabble.com> <21684.1417370077@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox