Fix pg_upgrade from version 9.2

Commit 7f25eccf41 added a cross-check between pg_database.datminmxid
and oldestMulti, but because PostgreSQL 9.2 doesn't have datminmxid,
it broke upgrade from version 9.2.  Disable the check when upgrading
from 9.2 to fix.

This is for REL_19_STABLE only.  Earlier versions don't have the check,
and on 'master' we no longer support upgrading from version 9.2.

Reported-by: Andrew Dunstan <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/[email protected]

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2ae589741df0fa626386aa10b679f7ffb67b0b09

Modified Files
--------------
src/bin/pg_upgrade/check.c | 9 +++++++++
1 file changed, 9 insertions(+)

Reply via email to