agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Adjust cross-version upgrade tests for seg_out() fix
Date: Fri, 12 Jun 2026 22:07:51 +0000
Message-ID: <E1wYA2Z-0004JK-0H@gemulon.postgresql.org> (raw)

Adjust cross-version upgrade tests for seg_out() fix

Commit 0e1f1ed157e taught seg_out() to print the certainty indicator
on an interval's upper boundary, but it was back-patched only as far
as v14.  When upgrading from an older release, the old server prints
the one test_seg row exercising that case ('4.6 .. ~7.0') without the
indicator, so the pre- and post-upgrade dumps do not match.  Make
AdjustUpgrade.pm delete just that row; seg's comparison function does
distinguish the certainty indicators, so the otherwise identical row
'4.6 .. 7.0' is unaffected.

Back-patch to all supported branches.

Per buildfarm members crake and fairywren.

Discussion: https://postgr.es/m/5ccbdbde-6467-4a10-bf4d-0be73a05ce8d@dunslane.net

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/10e510423dc3a0e3c696b981b4d12096c5ab6428

Modified Files
--------------
src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm | 8 ++++++++
1 file changed, 8 insertions(+)



view thread (6+ messages)  latest in thread

Message-ID: <E1wYA2Z-0004JK-0H@gemulon.postgresql.org>
Permalink:  ../E1wYA2Z-0004JK-0H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wYA2Z-0004JK-0H@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: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Adjust cross-version upgrade tests for seg_out() fix
  In-Reply-To: <E1wYA2Z-0004JK-0H@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox