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-003GMk-Mb@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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/266454f192e8f67e8e5e8e9f7667d7c8c77de232

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