Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id AACAF90656E for ; Sat, 19 Nov 2011 13:57:58 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RRpAs-0002eN-41 for pgsql-bugs@postgresql.org; Sat, 19 Nov 2011 17:57:58 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pAJHvilA020475; Sat, 19 Nov 2011 12:57:44 -0500 (EST) To: lindebg cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6299: pg_dump, pg_dumpall - Problem with the order of backup functions 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> Comments: In-reply-to lindebg message dated "Sat, 19 Nov 2011 18:19:43 +0100" Date: Sat, 19 Nov 2011 12:57:44 -0500 Message-ID: <20474.1321725464@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 201111/150 X-Sequence-Number: 31745 lindebg 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