pgsql: pg_upgrade: check for types removed in pg12

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: check for types removed in pg12
Date: 2023-09-25 13:58:21
Message-ID: E1qkm6P-005s9h-H9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)neon(dot)tech>
Reviewed-by: Suraj Kharage <suraj(dot)kharage(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/202309201654.ng4ksea25mti@alvherre.pgsql

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fb9ddd0fafeaacb8d382c66ae545cba1a4ed7886

Modified Files
--------------
src/bin/pg_upgrade/check.c | 51 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 50 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-25 14:05:29 pgsql: vacuumdb: Fix excluding multiple schemas with -N
Previous Message Daniel Gustafsson 2023-09-25 11:31:02 pgsql: Fix typo in numutils.c comments