diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-02-23 14:16:26 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-02-23 14:16:26 -0500 |
commit | fc0d0ce978752493868496be6558fa17b7c4c3cf (patch) | |
tree | 041f65389fba4959dc3f389342c3cbdc94784f61 /src/backend/storage/buffer/localbuf.c | |
parent | 454c182f8542890d0e2eac85f70d9a254a34fce3 (diff) | |
download | postgresql-fc0d0ce978752493868496be6558fa17b7c4c3cf.tar.gz postgresql-fc0d0ce978752493868496be6558fa17b7c4c3cf.zip |
Ignore hash's relallvisible when checking pg_upgrade from pre-v10.
Our cross-version upgrade tests have been failing for some pre-v10
source versions since commit 1fd1bd871. This turns out to be
because relallvisible may change for tables that have hash indexes,
because the upgrade process forcibly reindexes such indexes to
deal with the changes made in v10.
Fortunately, the set of tables that have such indexes is small
and won't change anymore in those branches. So just hack up
AdjustUpgrade.pm to not compare the relallvisible values of
those specific tables.
While here, also tighten the regex that suppresses comparison
of version fields.
Discussion: https://postgr.es/m/812817.1740277228@sss.pgh.pa.us
Diffstat (limited to 'src/backend/storage/buffer/localbuf.c')
0 files changed, 0 insertions, 0 deletions