Re: pgsql: Allow concurrent-safe open() and fopen() in frontend code for Wi
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>,
pgsql-committers@lists.postgresql.org
Date: 2018-09-17T18:30:40Z
Lists: pgsql-hackers
On 09/17/2018 12:13 PM, Tom Lane wrote: > Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes: >> On 09/17/2018 10:48 AM, Tom Lane wrote: >>> We've got a bit of a timing problem because we want to wrap 11beta4/rc1 >>> (still TBD) in a few hours. I'll take a look and see if I can push a >>> quick fix before that. >> When you do I'll start a bowerbird run to check it. > Pushed, please test. > > I think there's a general issue here of exactly how we want pgwin32_fopen > to behave, but the immediate problem is best fixed by making pgbench deal > with Windows newlines more thoroughly. > > Tests are still running, but it's past the pgbench stage on HEAD, so I think we're good. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Enforce translation mode for Windows frontends to text with open/fopen
- 40cfe86068f4 12.0 landed
-
Fix pgbench lexer's "continuation" rule to cope with Windows newlines.
- db37ab2c60b8 12.0 landed
- d45f157e8b07 11.0 landed
- 3ea7e015f37a 10.6 landed
-
Allow concurrent-safe open() and fopen() in frontend code for Windows
- 0ba06e0bfb8c 12.0 cited