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 <[email protected]>
Reviewed-by: Greg Burd <[email protected]>
Reviewed-by: Bharath Rupireddy <[email protected]>
Discussion: https://postgr.es/m/[email protected]

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(-)

Reply via email to