pg_upgrade: check for types removed in pg12

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: d3946c4f622fce5295b349ef185b06a004a8df6b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-09-25T12:34:05Z
Releases: 13.13
pg_upgrade: check for types removed in pg12

Commit cda6a8d01d39 removed a few datatypes, but didn't update
pg_upgrade --check to throw error if these types are used.  So the users
find that pg_upgrade --check tells them that everything is fine, only to
fail when the real upgrade is attempted.

Reviewed-by: Tristan Partin <tristan@neon.tech>
Reviewed-by: Suraj Kharage <suraj.kharage@enterprisedb.com>
Discussion: https://postgr.es/m/202309201654.ng4ksea25mti@alvherre.pgsql

Files

PathChange+/−
src/bin/pg_upgrade/check.c modified +47 −0

Discussion