| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_upgrade: Run test suite with initial OID higher than UINT32_M |
| Date: | 2026-09-16 01:57:53 |
| Message-ID: | E1x6euH-00000000WF5-1uhH@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)paquier(dot)xyz>
Reviewed-by: Greg Burd <greg(at)burd(dot)me>
Reviewed-by: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Michael Paquier | 2026-09-16 01:11:34 | pgsql: Tweak tests related to oid8 in amcheck and test_decoding |