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 <[email protected]>
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(-)

Reply via email to