| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove pg_upgrade support for upgrading from pre-v10 servers. |
| Date: | 2026-07-02 18:06:56 |
| Message-ID: | E1wfLoO-0016KH-2B@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove pg_upgrade support for upgrading from pre-v10 servers.
Per discussion, it seems like a good time to bump the minimum
supported version for various applications. Our current policy is
to support at least 10 previous major versions, so this bumps the
minimum to v10 for the v20 release. For reference, the minimum was
last bumped to v9.2 in 2021 for v15 (see commits 30e7c175b8,
e469f0aaf3, cf0cab868a, and 492046fa9e).
For ease of review, and to be able to put the indentation changes
in .git-blame-ignore-revs, I did not fix the indentation in this
patch. I'll push a separate pgindent commit after these changes
are applied.
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/adZ4j88Dq9r8y9_9%40nathan
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/14d84180830768fee1d88e87e837567b89795736
Modified Files
--------------
doc/src/sgml/ref/pgupgrade.sgml | 2 +-
src/bin/pg_upgrade/check.c | 157 +--------------------------
src/bin/pg_upgrade/controldata.c | 98 ++---------------
src/bin/pg_upgrade/exec.c | 23 ----
src/bin/pg_upgrade/file.c | 164 -----------------------------
src/bin/pg_upgrade/multixact_rewrite.c | 11 +-
src/bin/pg_upgrade/pg_upgrade.c | 56 ++--------
src/bin/pg_upgrade/pg_upgrade.h | 29 -----
src/bin/pg_upgrade/relfilenumber.c | 37 ++-----
src/bin/pg_upgrade/server.c | 3 +-
src/bin/pg_upgrade/t/006_transfer_modes.pl | 20 ----
src/bin/pg_upgrade/version.c | 127 ----------------------
12 files changed, 26 insertions(+), 701 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2026-07-02 20:19:32 | pgsql: pg_plan_advice: Don't generate FOREIGN_JOIN advice for a single |
| Previous Message | John Naylor | 2026-07-02 08:58:22 | pgsql: Use ssup_datum_*_cmp in more places |