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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tests: Trim newline from result returned by BackgroundPsql->quer
Date: 2024-06-27 18:34:29
Message-ID: E1sMtwy-003GMI-HB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-06-27 18:44:23 pgsql: Avoid crashing when a JIT-inlined backend function throws an err
Previous Message Alvaro Herrera 2024-06-27 17:58:31 pgsql: Fix thinkos in comments