pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix matching check in recovery test 042_low_level_backup
Date: Fri, 17 Oct 2025 04:06:40 +0000
Message-ID: <E1v9bjk-0025SR-1e@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d1b80a31ed6dc185108af74f363bd6baad98104f

Modified Files
--------------
src/test/recovery/t/042_low_level_backup.pl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)



view thread (3+ messages)

Message-ID: <E1v9bjk-0025SR-1e@gemulon.postgresql.org>
Permalink:  ../E1v9bjk-0025SR-1e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v9bjk-0025SR-1e@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix matching check in recovery test 042_low_level_backup
  In-Reply-To: <E1v9bjk-0025SR-1e@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox