pgsql: tests: Trim newline from result returned by BackgroundPsql->quer - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: tests: Trim newline from result returned by BackgroundPsql->quer
Date
Msg-id E1sMtwy-003GMS-Je@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
tests: Trim newline from result returned by BackgroundPsql->query

This went unnoticed, because only a few existing callers of
BackgroundPsql->query used the result, and the ones that did were not
bothered by an extra newline. I noticed because I was about to add a
new test that checks the result.

Backport to all supported versions, since I just backported the
BackgroundPsql facility to all supported versions too.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8b6a7723b5a4b5e9540a7a2f66200b67aae27dfb

Modified Files
--------------
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix thinkos in comments
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid crashing when a JIT-inlined backend function throws an err