pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor

pgsql: Switch pg_test_fsync to use binary mode on Windows

2020-07-15 Thread Michael Paquier
Switch pg_test_fsync to use binary mode on Windows pg_test_fsync has always opened files using the text mode on Windows, as this is the default mode used if not enforced by _setmode(). This fixes a failure when running pg_test_fsync down to 12 because O_DSYNC and the text mode are not able to wor