]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix bogus extra arguments to query_safe in test
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 10 Dec 2025 17:38:07 +0000 (19:38 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 10 Dec 2025 17:39:00 +0000 (19:39 +0200)
commit807b2f261d643944120d29bfab70937ebbd4aad6
tree11d3d020060df8d270bad46b7784f57cde2b018a
parent998d100cdb7220a81b8775b67fbc1d5bbb918052
Fix bogus extra arguments to query_safe in test

The test seemed to incorrectly think that query_safe() takes an
argument that describes what the query does, similar to e.g.
command_ok(). Until commit bd8d9c9bdf the extra arguments were
harmless and were just ignored, but when commit bd8d9c9bdf introduced
a new optional argument to query_safe(), the extra arguments started
clashing with that, causing the test to fail.

Backpatch to v17, that's the oldest branch where the test exists. The
extra arguments didn't cause any trouble on the older branches, but
they were clearly bogus anyway.
src/test/modules/xid_wraparound/t/004_notify_freeze.pl