pg_upgrade: check for types removed in pg12
authorAlvaro Herrera
Mon, 25 Sep 2023 12:27:33 +0000 (14:27 +0200)
committerAlvaro Herrera
Mon, 25 Sep 2023 12:27:33 +0000 (14:27 +0200)
commit2e3dc8c14811a8d5dc0cdeda408f63131b873da0
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
Reviewed-by: Suraj Kharage
Discussion: https://postgr.es/m/202309201654[email protected]
src/bin/pg_upgrade/check.c