Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YyQRD-00049I-Fx for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 19:59:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YyQRC-000513-Uk for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 19:59:27 +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 1YyQRB-0004zD-Io for pgsql-committers@postgresql.org; Fri, 29 May 2015 19:59:25 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1YyQR8-0003cV-8N for pgsql-committers@postgresql.org; Fri, 29 May 2015 19:59:24 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MPE7E-1Z2qHQ1apk-004TvB for ; Fri, 29 May 2015 21:59:20 +0200 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id DED8520825 for ; Fri, 29 May 2015 15:59:18 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 29 May 2015 15:59:18 -0400 X-Sasl-enc: LMAAJInoxPKxSItTAkBprdELpBrBmyukVQt0iQvuRvr7 1432929558 Received: from [192.168.1.147] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id A255BC00017; Fri, 29 May 2015 15:59:18 -0400 (EDT) Message-ID: <5568C516.6040909@gmx.net> Date: Fri, 29 May 2015 15:59:18 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Tom Lane , pgsql-committers@postgresql.org Subject: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal. References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bmxuKq5Uwl4m9TD7Jt7fGZINxx8/HLarZeCuI2HrtMFzhfHXXCz ssLokqgLHgUXd+76+3Z/2RZCc/PWbepRAUIWE3sspx7row4E+OMKMpmJj8zI9yAOvQhELqP K6+nv5X3W3pveaKYV0kJpLYW8d1lhW/q+Qk/ksIg0wxZfhDMCl/KWgmtIxQ4RbO8X7l4/LG /6ksFOixY909QrH9qBjAA== X-UI-Out-Filterresults: notjunk:1;V01:K0:B9+BbJm162E=:Z0nY2ae4ANqZ+dYdyAg7/+ OUqC1ULoF67FAv/YOwldV37x5dLVAXdNhDKWX4XV7EgOEJ/ctNk68GONMS9Z+kuPinMy+EeuU ZwMkfjGr0EIYVWRCHDrwoe43rASgIBHpyx6gd/4X8FwxugozNQaYP6mL2WwKc0hf3PbEzUEJc x+evXjGMAdgbuvHQ/W1jrKVOTEcDHBX8CiY7ybWUgSpgKmMZebtdwwoIhVhsfLZADbCQmGPRS 2A2UMQc5KFth4kpRVHGBf0l0wel4a7Y7dcrnsQubgDcl5S0kpgkXWHHGWH2XDtSk2hN7mPbs4 Mp1C5R9Z2FSh4b/1k8M7T545Hc/xZJjCgbqNuN5CKczDSDi/c4UE8KLzoJuv8NTdk0TQM6ayZ v0XTW18xgvrMt7mvF8dtZZoKz8evhpLP5Z3zAnOFCGGE/QkWoBQSaWGHe+5WQMhtICblpk4u+ TgvsaQhl7dIX61Mm53kfgZMbWN5/TdRDHbsniefTu5/GnWZCsNPzi/RJKnLOuEFL0cWjA5THH CcKmkm4YuqQvfDzpOhJwfaVi20j+/p4F7piLD5Q6EE8oQK0EHcTMbLnlNaSIfP5ccgej4b3Wx 6/4M7wUkE7VWZkJnJ1u4AwggB6mUTA1Z3t9j4jKav0Ruvig1Zxmw3havmMDC3jsz1e8YbCmtu TRYL149Ep9w7abeKGbXN26ALYUXIvVEcnlok4oQg6o9nxs84s/GA1nvXkZW5g7JVn9VQ= X-Pg-Spam-Score: -3.0 (---) 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 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. The output of that command is also a bit crazy now: $ pg-install/bin/initdb -S -D /notthere syncing data to disk ... initdb: could not stat file "/notthere/pg_xlog": No such file or directory initdb: could not open directory "/notthere": No such file or directory initdb: could not open directory "/notthere/pg_tblspc": No such file or directory ok I think the behavior to ignore fsync failures should probably not apply to top-level directories. Or alternatively, the existence of these directories should be checked separately. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers