Jun 2026

4 commits
Fix second race with timeline selection during promotion
12 Jun 2026Michael Paquiermaster19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #163 of 3 reviewers saw the final version

This commits the third and fourth patches from #16: the read_local_xlog_page_guts() change in src/backend/access/transam/xlogutils.c is identical, and the SQL test differs only in comments and surrounding context. The commit message expands the explanation of affected callers and backpatch scope.

  • Xuneng Zhousaw the final versiontrailerXuneng reviewed the complete series and requested stronger synchronization and result checks in #15, then endorsed the revised synchronization in #17.
  • Hayato Kurodasaw the final versiontrailerHayato questioned the asynchronous SQL test in #14, prompting the test simplification in #16, with only test and editorial changes following his review.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Remove TAP test for timeline lookup race with logical decoding on standbys
11 Jun 2026Michael PaquierREL_17_STABLE17.11
LLM analysis, 100% surewritten from the discussion, no matching patch

No attachment removes the test; Michael announced PostgreSQL 17 buildfarm failures and the intended removal in #20. The commit removes the startup injection point and promotion-race TAP test on that branch because its test script lacked injection_points availability checks.

Fix race with timeline selection in logical decoding during promotion
11 Jun 2026Michael Paquiermaster19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #163 of 3 reviewers saw the final version

This commits the first two patches from #16, preserving the logical_read_xlog_page() logic, startup injection point, and revised decoding test. Changes are explanatory comments and commit-message edits; the local-reader fix and SQL test were left for a separate commit.

  • Hayato Kurodasaw the final versiontrailerHayato reviewed the series' test design in #14, and subsequent revisions changed tests and explanations without altering the backend fixes.
  • Xuneng Zhousaw the final versiontrailerXuneng reported successful reproduction and validation of the fix in #7, reviewed the series in #15, and endorsed the final synchronization in #17.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Backport GetWALInsertionTimeLineIfSet()
11 Jun 2026Michael PaquierREL_16_STABLE16.15
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The attachments use GetWALInsertionTimeLineIfSet() but never add its implementation or declaration. This PostgreSQL 16 prerequisite backport follows Bertrand's proposal in #6 and Michael's agreement in #19, adding the helper to src/backend/access/transam/xlog.c and src/include/access/xlog.h.

  • Bertrand Drouvotsaw the final versionLLM analysis, 90% sureBertrand identified the PostgreSQL 16 prerequisite and proposed introducing GetWALInsertionTimeLineIfSet() in #6, which Michael accepted in #19 and implemented in this backport.

Credits across 4 commits

Author
Bertrand Drouvot2
Reviewer
Hayato Kuroda (Fujitsu)2
Michael Paquiercommitter2
Xuneng Zhou2
Reported by
Alexander Lakhin1
Xuneng Zhou1
Committer
Michael Paquier4