From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Enforce translation mode for Windows frontends to text with open
Date: Wed, 19 Sep 2018 23:56:42 +0000
Message-ID: <E1g2mKo-0005Zx-5e@gemulon.postgresql.org> (raw)
Enforce translation mode for Windows frontends to text with open/fopen
Allowing frontends to use concurrent-safe open() and fopen() via 0ba06e0
has the side-effect of switching the default translation mode from text
to binary, so the switch can cause breakages for frontend tools when the
caller of those new versions specifies neither binary and text. This
commit makes sure to maintain strict compatibility with past versions,
so as no frontends should see a difference when upgrading.
Author: Laurenz Albe
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/20180917140202.GF31460@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/40cfe86068f4c385517a8423cb8b3001e2f6a2fd
Modified Files
--------------
src/port/open.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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: michael@paquier.xyz
Subject: Re: pgsql: Enforce translation mode for Windows frontends to text with open
In-Reply-To: <E1g2mKo-0005Zx-5e@gemulon.postgresql.org>
References: <E1g2mKo-0005Zx-5e@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