]> 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:08:49 +0000 (21:08 +0300)
commit071e19a36c68dd5f1d949ecf9f110f1ec95a9532
treec5739b33d6ddf9b725ac88ffa22b87ae9cfdae0c
parent12f327b210b3b093e09778ec05fd44bbee4b0736
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