]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit26c291a152439dfd7e9d0368ccd0f6edff8f25ea
treef7abdb23058a118cd24a230a339377b31890cdc6
parentafa504ba2f5d486b8adbc8aace092bfe0531b913
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