Re: pg_upgrade --check fails to warn about abstime
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>, Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-09-22T11:14:23Z
Lists: pgsql-hackers
Attachments
- v2-0001-pg_upgrade-check-for-types-removed-in-pg12.patch (text/x-diff)
On 2023-Sep-21, Tom Lane wrote: > Bruce Momjian <bruce@momjian.us> writes: > > Wow, I never added code to pg_upgrade to check for that, and no one > > complained either. > > Yeah, so most people had indeed listened to warnings and moved away > from those datatypes. I'm inclined to think that adding code for this > at this point is a bit of a waste of time. The migrations from versions prior to 12 have not stopped yet, and I did receive a complaint about it. Because the change is so simple, I'm inclined to patch it anyway, late though it is. I decided to follow Tristan's advice to add the version number as a parameter to the new function; this way, the knowledge of where was what dropped is all in the callsite and none in the function. It looked a bit schizoid otherwise. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Postgres is bloatware by design: it was built to house PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)
Commits
-
pg_upgrade: check for types removed in pg12
- fb9ddd0fafea 16.1 landed
- 8845d8597d77 15.5 landed
- 26c291a15243 14.10 landed
- d3946c4f622f 13.13 landed
- af9f6cd1ddfa 12.17 landed
- 2e3dc8c14811 17.0 landed