Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YyQXo-0004ZN-M1 for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 20:06:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YyQXo-0001o1-6x for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 20:06:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YyQXn-0001nv-I1 for pgsql-committers@postgresql.org; Fri, 29 May 2015 20:06:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YyQXk-0003oc-J6 for pgsql-committers@postgresql.org; Fri, 29 May 2015 20:06:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t4TK66rf027844; Fri, 29 May 2015 16:06:06 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal. In-reply-to: <5568C516.6040909@gmx.net> References: <5568C516.6040909@gmx.net> Comments: In-reply-to Peter Eisentraut message dated "Fri, 29 May 2015 15:59:18 -0400" Date: Fri, 29 May 2015 16:06:06 -0400 Message-ID: <27843.1432929966@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Peter Eisentraut writes: > On 5/29/15 1:05 PM, Tom Lane wrote: >> Adjust initdb to also not consider fsync'ing failures fatal. > This introduces a failure in the initdb tests, which expect that > initdb -S -D /notthere > returns a nonzero exit code. Hm, I guess we don't run anything else that touches the DB directory in this case? In the backend case we'd have failed much earlier. I'm not 100% convinced that the test case's expectation is necessarily the right thing, though. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers