Re: pgsql: Allow concurrent-safe open() and fopen() in frontend code for Wi
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>,
pgsql-committers@lists.postgresql.org
Date: 2018-09-17T16:13:56Z
Lists: pgsql-hackers
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. regards, tom lane
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