pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_upgrade: Preserve template0 ICU rules 5+ messages / 1 participants [nested] [flat]
* pgsql: pg_upgrade: Preserve template0 ICU rules @ 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: Preserve template0 ICU rules Copy template0's daticurules alongside its other locale attributes. We missed that when daticurules was introduced in v16. daticurules can be arbitrarily large, so teach executeQueryOrDie() and logging to grow the buffer if needed. 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/32dd742b075e999fa358570bc13778b93f8025d4 Modified Files -------------- src/bin/pg_upgrade/info.c | 22 +++++++++++++++++++--- src/bin/pg_upgrade/pg_upgrade.c | 22 +++++++++++++++++----- src/bin/pg_upgrade/pg_upgrade.h | 1 + src/bin/pg_upgrade/server.c | 32 ++++++++++++++++++++++---------- src/bin/pg_upgrade/util.c | 23 +++++++++++++++++++++-- 5 files changed, 80 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Preserve template0 ICU rules @ 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: Preserve template0 ICU rules Copy template0's daticurules alongside its other locale attributes. We missed that when daticurules was introduced in v16. daticurules can be arbitrarily large, so teach executeQueryOrDie() and logging to grow the buffer if needed. 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/c1e0c76faeb4f873c1ee20951dcd7bfc3488eb71 Modified Files -------------- src/bin/pg_upgrade/info.c | 22 +++++++++++++++++++--- src/bin/pg_upgrade/pg_upgrade.c | 22 +++++++++++++++++----- src/bin/pg_upgrade/pg_upgrade.h | 1 + src/bin/pg_upgrade/server.c | 32 ++++++++++++++++++++++---------- src/bin/pg_upgrade/util.c | 23 +++++++++++++++++++++-- 5 files changed, 80 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Preserve template0 ICU rules @ 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: Preserve template0 ICU rules Copy template0's daticurules alongside its other locale attributes. We missed that when daticurules was introduced in v16. daticurules can be arbitrarily large, so teach executeQueryOrDie() and logging to grow the buffer if needed. 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/04e0a05ed19767710460af31650e15a39c943fdd Modified Files -------------- src/bin/pg_upgrade/info.c | 22 +++++++++++++++++++--- src/bin/pg_upgrade/pg_upgrade.c | 22 +++++++++++++++++----- src/bin/pg_upgrade/pg_upgrade.h | 1 + src/bin/pg_upgrade/server.c | 32 ++++++++++++++++++++++---------- src/bin/pg_upgrade/util.c | 23 +++++++++++++++++++++-- 5 files changed, 80 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Preserve template0 ICU rules @ 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: Preserve template0 ICU rules Copy template0's daticurules alongside its other locale attributes. We missed that when daticurules was introduced in v16. daticurules can be arbitrarily large, so teach executeQueryOrDie() and logging to grow the buffer if needed. 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/3252e7bdf95a55b6ff7d353b02f8480827f82b37 Modified Files -------------- src/bin/pg_upgrade/info.c | 22 +++++++++++++++++++--- src/bin/pg_upgrade/pg_upgrade.c | 22 +++++++++++++++++----- src/bin/pg_upgrade/pg_upgrade.h | 1 + src/bin/pg_upgrade/server.c | 32 ++++++++++++++++++++++---------- src/bin/pg_upgrade/util.c | 23 +++++++++++++++++++++-- 5 files changed, 80 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: pg_upgrade: Preserve template0 ICU rules @ 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: Preserve template0 ICU rules Copy template0's daticurules alongside its other locale attributes. We missed that when daticurules was introduced in v16. daticurules can be arbitrarily large, so teach executeQueryOrDie() and logging to grow the buffer if needed. 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/ce4e2b60728bc233301b01782e5c191fec6482e4 Modified Files -------------- src/bin/pg_upgrade/info.c | 21 ++++++++++++++++++--- src/bin/pg_upgrade/pg_upgrade.c | 22 +++++++++++++++++----- src/bin/pg_upgrade/pg_upgrade.h | 1 + src/bin/pg_upgrade/server.c | 32 ++++++++++++++++++++++---------- src/bin/pg_upgrade/util.c | 23 +++++++++++++++++++++-- 5 files changed, 79 insertions(+), 20 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: Preserve template0 ICU rules Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Preserve template0 ICU rules Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Preserve template0 ICU rules Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Preserve template0 ICU rules Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-20 10:22 pgsql: pg_upgrade: Preserve template0 ICU rules 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