]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix matching check in recovery test 042_low_level_backup
authorMichael Paquier <michael@paquier.xyz>
Fri, 17 Oct 2025 04:06:11 +0000 (13:06 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 17 Oct 2025 04:06:11 +0000 (13:06 +0900)
commit61b5fa029a432e6c5f516c633b5467d4cc55f264
tree5ba80a7e60d97a6d8a4c23f4ef0fbf5539d0e26e
parenta8933194e51585ed896c5c2b4a8e2ec5e3667a67
Fix matching check in recovery test 042_low_level_backup

042_low_level_backup compared the result of a query two times with a
comparison operator based on an integer, while the result should be
compared with a string.

The outcome of the tests is currently not impacted by this change.
However, it could be possible that the tests fail to detect future
issues if the query results become different, for some reason.

Oversight in 99b4a63bef94.

Author: Sadhuprasad Patro <b.sadhu@gmail.com>
Discussion: https://postgr.es/m/CAFF0-CHhwNx_Cv2uy7tKjODUbeOgPrJpW4Rpf1jqB16_1bU2sg@mail.gmail.com
Backpatch-through: 17
src/test/recovery/t/042_low_level_backup.pl