pg_upgrade: check for types removed in pg12
commit2e3dc8c14811a8d5dc0cdeda408f63131b873da0
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Sep 2023 12:27:33 +0000 (25 14:27 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Sep 2023 12:27:33 +0000 (25 14:27 +0200)
tree6801e1c048ad5eb179bb191a4e198c89b80ed772
parentc1609cf3c014294937058d4ca2b3160ec1b5be8c
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