pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: lindebg <lindebg@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions
Date: Sat, 19 Nov 2011 12:57:44 -0500
Message-ID: <20474.1321725464@sss.pgh.pa.us> (raw)
In-Reply-To: <4EC7E52F.1000509@gmail.com>
References: <201111172054.pAHKsFc7052692@wwwmaster.postgresql.org>
	<15140.1321576938@sss.pgh.pa.us>
	<4EC767AB.4090005@gmail.com>
	<16935.1321716868@sss.pgh.pa.us>
	<4EC7E52F.1000509@gmail.com>

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



view thread (7+ messages)

Message-ID: <20474.1321725464@sss.pgh.pa.us>
Permalink:  ../20474.1321725464@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20474.1321725464@sss.pgh.pa.us

 · 

reply

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, lindebg@gmail.com
  Subject: Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions
  In-Reply-To: <20474.1321725464@sss.pgh.pa.us>
  References: <201111172054.pAHKsFc7052692@wwwmaster.postgresql.org> <15140.1321576938@sss.pgh.pa.us> <4EC767AB.4090005@gmail.com> <16935.1321716868@sss.pgh.pa.us> <4EC7E52F.1000509@gmail.com> <20474.1321725464@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