pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Refuse upgrades from pre-9.0 clusters 3+ messages / 1 participants [nested] [flat]
* pgsql: Refuse upgrades from pre-9.0 clusters @ 2024-05-17 12:29 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2024-05-17 12:29 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ccf3408cff539d21256f14a350dd156c8bee05ef Modified Files -------------- doc/src/sgml/ref/pgupgrade.sgml | 2 +- src/bin/pg_upgrade/check.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Refuse upgrades from pre-9.0 clusters @ 2024-05-17 12:30 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2024-05-17 12:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b030697d36d5c40d02f80194589e569eacca5dbf Modified Files -------------- doc/src/sgml/ref/pgupgrade.sgml | 2 +- src/bin/pg_upgrade/check.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Refuse upgrades from pre-9.0 clusters @ 2024-05-17 12:30 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2024-05-17 12:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bcd2be0c2f7e494597ad02a69127c82478369b07 Modified Files -------------- doc/src/sgml/ref/pgupgrade.sgml | 2 +- src/bin/pg_upgrade/check.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-05-17 12:30 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-05-17 12:29 pgsql: Refuse upgrades from pre-9.0 clusters Daniel Gustafsson <dgustafsson@postgresql.org> 2024-05-17 12:30 pgsql: Refuse upgrades from pre-9.0 clusters Daniel Gustafsson <dgustafsson@postgresql.org> 2024-05-17 12:30 pgsql: Refuse upgrades from pre-9.0 clusters Daniel Gustafsson <dgustafsson@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox