Nov 2026

3 commits
pg_upgrade: Remove unnecessary checks on target cluster's version
20 Nov 2026Heikki LinnakangasmasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleased
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #42 of 2 reviewers saw the final version

This extracts the removal of obsolete target-version branches from set_locale_and_encoding() in #4, leaving the ICU-rule and buffer changes for 32dd742b07. The cleanup retains the submitted behavior and was backpatched to simplify applying the following fix.

  • Shihao Zhongsaw the final versiontrailerShihao tested the combined patch #4 successfully in #5, and its target-version cleanup was extracted without substantive changes.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
pg_upgrade: Preserve template0 ICU rules
20 Nov 2026Heikki LinnakangasmasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleased
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #41 of 2 reviewers saw the final version

This commits the ICU-rule preservation and dynamic-buffer portions of #4, while the target-version cleanup landed separately in 09b40d2cf0. The committer split the source-version query branches in info.c and removed the explicit PQescapeLiteral failure check in pg_upgrade.c; the server.c and util.c changes match the submission.

  • Shihao Zhongsaw an earlier versiontrailerShihao reported successful testing of #4 on master in #5, before the committed query-branch and error-handling edits.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
Fix CREATE DATABASE when template0 has ICU rules.
19 Nov 2026Jeff DavismasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleased
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

The createdb() provider guard in src/backend/commands/dbcommands.c exactly matches #7. The committed src/test/icu/t/010_database.pl expands coverage to libc, explicitly checks database-creation success, and makes locale initialization deterministic.

  • Jeff Davissaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Bohyun Lee2
shihao zhong1
Reviewer
Heikki Linnakangascommitter2
shihao zhong2
Jeff Daviscommitter1
Reported by
Heikki Linnakangas1
Committer
Heikki Linnakangas2
Jeff Davis1