Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: jeff.janes@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2020-07-15T16:26:53Z
Lists: pgsql-bugs
On Wed, Jul 15, 2020 at 03:53:56PM +0900, Michael Paquier wrote:
> If there are no objections, I would like to just change the tool to
> use the binary mode down to 9.5.  I can see that the text mode is
> getting used for all branches, and that's wrong as the aim is to test
> binary writes, basically as you said as well upthread.

+1

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




Commits

  1. Switch pg_test_fsync to use binary mode on Windows

  2. Allow concurrent-safe open() and fopen() in frontend code for Windows