agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove pg_upgrade support for upgrading from pre-v10 servers.
Date: Thu, 02 Jul 2026 18:06:56 +0000
Message-ID: <E1wfLoO-0016KH-2B@gemulon.postgresql.org> (raw)

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.fujii@gmail.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(-)



view thread (2+ messages)

Message-ID: <E1wfLoO-0016KH-2B@gemulon.postgresql.org>
Permalink:  ../E1wfLoO-0016KH-2B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wfLoO-0016KH-2B@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove pg_upgrade support for upgrading from pre-v10 servers.
  In-Reply-To: <E1wfLoO-0016KH-2B@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox