pgsql: Simplify newline handling in libpq TAP test - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Simplify newline handling in libpq TAP test
Date
Msg-id E1vDuWV-0040GI-06@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Simplify newline handling in libpq TAP test

CRLF translation is already handled by the text mode, so there should be
no need for any specific logic.  See also 1c6d4629394d, msys perl being
one case where the translation mattered.

Note: An equivalent has been first applied on HEAD with 8767b449a3a1.
The same change is backpatched to v18 as all the Windows buildfarm
members have reported green.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Co-authored-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/aPsh39bxwYKvUlAf@paquier.xyz
Backpatch-through: 18

Branch
------
REL_18_STABLE

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

Modified Files
--------------
src/interfaces/libpq/t/006_service.pl | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix correctness issue with computation of FPI size in WAL stats
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove obsolete comment