Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YB3sm-00005Y-GQ for pgsql-bugs@arkaria.postgresql.org; Tue, 13 Jan 2015 15:59:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YB3sl-00085w-TD for pgsql-bugs@arkaria.postgresql.org; Tue, 13 Jan 2015 15:59:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YB3sk-00083r-K0 for pgsql-bugs@postgresql.org; Tue, 13 Jan 2015 15:59:50 +0000 Received: from mout.gmx.net ([212.227.17.21]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YB3sh-0002KS-Mx for pgsql-bugs@postgresql.org; Tue, 13 Jan 2015 15:59:49 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MOwY7-1Y5rTp16Gd-006PlX for ; Tue, 13 Jan 2015 16:59:46 +0100 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 7A8FF2075B for ; Tue, 13 Jan 2015 10:59:44 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 13 Jan 2015 10:59:44 -0500 X-Sasl-enc: IcQDLf1qhDQ/fg4eBOhGaFxaPQbflt+WbCTs4CAqrgUa 1421164784 Received: from [192.168.1.70] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 3359DC00018; Tue, 13 Jan 2015 10:59:44 -0500 (EST) Message-ID: <54B540F0.4050509@gmx.net> Date: Tue, 13 Jan 2015 10:59:44 -0500 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Tom Lane , David G Johnston CC: pgsql-bugs@postgresql.org Subject: Re: BUG #12106: pg_dump does not resolve circular dependency 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> In-Reply-To: <21684.1417370077@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:dE7yv0zTS84fpqOC0RYaXdnL9nVRv4HLUWgsaRASklOZpwX6hTU NpEEHHnRzQ/IXVB1bOsmNcbwprNsu5RNcX7m+1E86lmrXHIg+M8xxSpAO61RcXQSxoHLKlK FelVizcC77zI68L7jwtr5Up1PGz0/NhKhXIQhtZzEx+f18SCSppR9MUmlsBn9Vfu/5i1uC6 sfavIAcHHUX9frSn5iGrg== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 11/30/14 12:54 PM, Tom Lane wrote: > "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. Maybe there should be an option to fail or not fail in these cases. Both cases are useful, but I tend to agree that it should fail hard by default. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs