pgsql: pg_upgrade: Run test suite with initial OID higher than UINT32_M - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: pg_upgrade: Run test suite with initial OID higher than UINT32_M
Date
Msg-id E1x6euH-00000000WF5-1uhH@gemulon.postgresql.org
Whole thread
List 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@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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Tweak tests related to oid8 in amcheck and test_decoding
Next
From: Peter Eisentraut
Date:
Subject: pgsql: pgindent: Fix indentation of alignas() in struct members