agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Run test suite with initial OID higher than UINT32_M
Date: Wed, 16 Sep 2026 01:57:53 +0000
Message-ID: <E1x6euH-00000000WF5-1uhH@gemulon.postgresql.org> (raw)

pg_upgrade: Run test suite with initial OID higher than UINT32_MAX

The test already used a pg_resetwal to bump the initial OID to be higher
than UINT32_MAX after the main regression test suite has been run, to
check that pg_upgrade was able to carry an 8-byte wide value.  This now
happens set much earlier in the script, before running the main
regression test suite.

A small oid8-related check is added, while on it.  Perhaps this could be
expanded to more objects and/or patterns later on.  It should be good
enough as a starting point.

Author: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Greg Burd <greg@burd.me>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/aqd_gYs35v--sVlR@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/04c4c1c3a9636bb33875c039948795d7cd0da507

Modified Files
--------------
src/bin/pg_upgrade/t/002_pg_upgrade.pl | 42 ++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 14 deletions(-)



Message-ID: <E1x6euH-00000000WF5-1uhH@gemulon.postgresql.org>
Permalink:  ../E1x6euH-00000000WF5-1uhH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x6euH-00000000WF5-1uhH@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: pg_upgrade: Run test suite with initial OID higher than UINT32_M
  In-Reply-To: <E1x6euH-00000000WF5-1uhH@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