]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Simplify newline handling in libpq TAP test
authorMichael Paquier <michael@paquier.xyz>
Wed, 29 Oct 2025 00:55:48 +0000 (09:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 29 Oct 2025 00:55:48 +0000 (09:55 +0900)
commita92bbffbc3a7157b0998f0423cf2304c81626822
treef75255854ba17e81cb727ca19c2ff5fde1334e41
parent74197bdc842a280befe834e5cb4be700af9f8198
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
src/interfaces/libpq/t/006_service.pl