]> 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:10:34 +0000 (21:10 +0300)
commit34221af648f1b5b2aaa5c1814e692ec98063ba52
tree458a8723634cc7b6f27c60dadab9bff3114b13e4
parent5fcd0d0ce1e5f2abe6b3e9d6f05e439d3088a538
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