pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Allow concurrent-safe open() and fopen() in frontend cod
Date: Tue, 18 Sep 2018 21:34:23 +0000
Message-ID: <E1g2NdX-0007op-4b@gemulon.postgresql.org> (raw)

Revert "Allow concurrent-safe open() and fopen() in frontend code for Windows"

This reverts commit f02259fe93e75d5443a2fabe2f2f38b81924ab36, in the
v11 branch only.

The hack this required in initdb.c should probably have clued us that it
wasn't really ready, but we didn't get the hint.  Subsequent developments
have made clear that it affected text-vs-binary behavior in a lot of
places, and there's no reason to think that any of those behavioral changes
are desirable.  There's no time to fix this before 11beta4, so just revert
for the moment.  We can keep working on this in HEAD, and maybe reconsider
a back-patch once we're satisfied things are stable.

(I take the blame for this fiasco, having encouraged Michael to back-patch
a change at the last possible moment before beta wrap.)

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/df8b5f3eb8a7c477156d0ad9d83e7297912cfe79

Modified Files
--------------
src/bin/initdb/initdb.c                           | 8 --------
src/bin/pg_basebackup/pg_receivewal.c             | 2 +-
src/bin/pg_verify_checksums/pg_verify_checksums.c | 2 +-
src/common/file_utils.c                           | 4 ++--
src/include/port.h                                | 3 +++
5 files changed, 7 insertions(+), 12 deletions(-)



Message-ID: <E1g2NdX-0007op-4b@gemulon.postgresql.org>
Permalink:  ../E1g2NdX-0007op-4b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g2NdX-0007op-4b@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Revert "Allow concurrent-safe open() and fopen() in frontend cod
  In-Reply-To: <E1g2NdX-0007op-4b@gemulon.postgresql.org>
  References: <E1g2NdX-0007op-4b@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox