pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio 5+ messages / 1 participants [nested] [flat]
* pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio @ 2026-11-20 10:22 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 5+ messages in thread From: Heikki Linnakangas @ 2026-11-20 10:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_upgrade: Remove unnecessary checks on target cluster's version pg_upgrade only supports the current version as its target. Remove the queries for older server versions from set_locale_and_encoding(), they were dead code. This is just code cleanup, but backpatch to v16 to help backpatching the next commit that touches the function. Author: Bohyun Lee <bohyun.lee@databricks.com> Reviewed-by: Shihao Zhong <zhong950419@gmail.com> Discussion: https://www.postgresql.org/message-id/8c65df31-345e-429c-98fa-867f08d703b6@iki.fi Backpatch-through: 16 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/09b40d2cf07b783a3aee31e046a64771f23f5d65 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.c | 51 +++++++++++------------------------------ 1 file changed, 13 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio @ 2026-11-20 10:22 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 5+ messages in thread From: Heikki Linnakangas @ 2026-11-20 10:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_upgrade: Remove unnecessary checks on target cluster's version pg_upgrade only supports the current version as its target. Remove the queries for older server versions from set_locale_and_encoding(), they were dead code. This is just code cleanup, but backpatch to v16 to help backpatching the next commit that touches the function. Author: Bohyun Lee <bohyun.lee@databricks.com> Reviewed-by: Shihao Zhong <zhong950419@gmail.com> Discussion: https://www.postgresql.org/message-id/8c65df31-345e-429c-98fa-867f08d703b6@iki.fi Backpatch-through: 16 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6ff2fd411fbb379e9ee6fdafb00bd47ff203f955 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.c | 51 +++++++++++------------------------------ 1 file changed, 13 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio @ 2026-11-20 10:22 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 5+ messages in thread From: Heikki Linnakangas @ 2026-11-20 10:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_upgrade: Remove unnecessary checks on target cluster's version pg_upgrade only supports the current version as its target. Remove the queries for older server versions from set_locale_and_encoding(), they were dead code. This is just code cleanup, but backpatch to v16 to help backpatching the next commit that touches the function. Author: Bohyun Lee <bohyun.lee@databricks.com> Reviewed-by: Shihao Zhong <zhong950419@gmail.com> Discussion: https://www.postgresql.org/message-id/8c65df31-345e-429c-98fa-867f08d703b6@iki.fi Backpatch-through: 16 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/83285b458d3d91faccca47a542cdd230113aa927 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.c | 51 +++++++++++------------------------------ 1 file changed, 13 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio @ 2026-11-20 10:22 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 5+ messages in thread From: Heikki Linnakangas @ 2026-11-20 10:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_upgrade: Remove unnecessary checks on target cluster's version pg_upgrade only supports the current version as its target. Remove the queries for older server versions from set_locale_and_encoding(), they were dead code. This is just code cleanup, but backpatch to v16 to help backpatching the next commit that touches the function. Author: Bohyun Lee <bohyun.lee@databricks.com> Reviewed-by: Shihao Zhong <zhong950419@gmail.com> Discussion: https://www.postgresql.org/message-id/8c65df31-345e-429c-98fa-867f08d703b6@iki.fi Backpatch-through: 16 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1d9bed66d0d62899971d03ff43b3e58b88ef56ee Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.c | 51 +++++++++++------------------------------ 1 file changed, 13 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio @ 2026-11-20 10:22 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 5+ messages in thread From: Heikki Linnakangas @ 2026-11-20 10:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_upgrade: Remove unnecessary checks on target cluster's version pg_upgrade only supports the current version as its target. Remove the queries for older server versions from set_locale_and_encoding(), they were dead code. This is just code cleanup, but backpatch to v16 to help backpatching the next commit that touches the function. Author: Bohyun Lee <bohyun.lee@databricks.com> Reviewed-by: Shihao Zhong <zhong950419@gmail.com> Discussion: https://www.postgresql.org/message-id/8c65df31-345e-429c-98fa-867f08d703b6@iki.fi Backpatch-through: 16 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/972ad5d829d8a86d0c1af47c83f6557ed958e92e Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.c | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2026-11-20 10:22 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-20 10:22 pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Remove unnecessary checks on target cluster's versio Heikki Linnakangas <heikki.linnakangas@iki.fi>
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