Simplify newline handling in libpq TAP test

Michael Paquier <michael@paquier.xyz>

Commit: a92bbffbc3a7157b0998f0423cf2304c81626822
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-10-29T00:55:48Z
Releases: 18.1
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

Files

PathChange+/−
src/interfaces/libpq/t/006_service.pl modified +2 −6

Discussion