pg_upgrade: check for types removed in pg12

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

Commit: af9f6cd1ddfa2bbc62c853f365fcf12d93bcde92
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-09-25T12:34:05Z
Releases: 12.17
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