pg_upgrade: check for types removed in pg12
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Sep 2023 12:34:06 +0000 (14:34 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Sep 2023 12:34:06 +0000 (14:34 +0200)
commitfb9ddd0fafeaacb8d382c66ae545cba1a4ed7886
treea0d4ada0a8155f64dc8955467e65535ce67a779e
parentcc58607b019ad6dd3231e54c597e6c1bc07a8132
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
src/bin/pg_upgrade/check.c