]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Refuse upgrades from pre-9.0 clusters
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 17 May 2024 12:24:27 +0000 (14:24 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 17 May 2024 12:24:27 +0000 (14:24 +0200)
commitb030697d36d5c40d02f80194589e569eacca5dbf
treeed8b50473ee3328d3ebf8bd49494a3ebe1cca3c9
parent9489f3c6e8cdee1c193c511b523ef9c20deed208
Refuse upgrades from pre-9.0 clusters

Commit 695b4a113ab added a dependency on retrieving oldestxid from
pg_control, which only exists in 9.0 and onwards, but the check for
8.4 as the oldest version was retained. Since there has been few if
any complaints of 8.4 upgrades not working, fix by setting 9.0 as
the oldest version supported rather than resurrecting 8.4 support.

Backpatch to all supported versions.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1973418.1657040382@sss.pgh.pa.us
Backpatch-through: v12
doc/src/sgml/ref/pgupgrade.sgml
src/bin/pg_upgrade/check.c