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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bruce Momjian <bruce@momjian.us>
Cc: jeff.janes@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2020-07-16T07:19:01Z
Lists: pgsql-bugs
On Wed, Jul 15, 2020 at 12:26:53PM -0400, Bruce Momjian wrote:
> 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

Thanks.  Fixed then as 932f9fb & co.
--
Michael

Commits

  1. Switch pg_test_fsync to use binary mode on Windows

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