From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
Date: Fri, 29 May 2015 15:59:18 -0400
Message-ID: <5568C516.6040909@gmx.net> (raw)
In-Reply-To: <E1YyNis-0002TX-VW@gemulon.postgresql.org>
References: <E1YyNis-0002TX-VW@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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
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-committers@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
In-Reply-To: <5568C516.6040909@gmx.net>
References: <E1YyNis-0002TX-VW@gemulon.postgresql.org> <5568C516.6040909@gmx.net>
* 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