]> git.ipfire.org Git - thirdparty/postgresql.git/commit
tests: Trim newline from result returned by BackgroundPsql->query
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 27 Jun 2024 18:06:27 +0000 (21:06 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 27 Jun 2024 18:09:06 +0000 (21:09 +0300)
commit266454f192e8f67e8e5e8e9f7667d7c8c77de232
tree479352c58dd306a1f7fb065e9a1bacbcafe6b766
parent4b467a6581af0ff029133558ce1f1e55597b8be1
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.
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm