Jul 2025

3 commits
Improve the stability of the recovery test 047_checkpoint_physical_slot
19 Jul 2025Alexander Korotkovmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6Also in: pgsql: Improve runtime and output of tests for replication slots checkp (not this thread)
LLM analysis, 85% surelanded as postedfrom patchset #221 of 1 reviewer saw the final version

The log-offset and checkpoint wait in src/test/recovery/t/047_checkpoint_physical_slot.pl match the separate stabilization patch described in #17 and resubmitted with editorial improvements in #22, whose attachment is unavailable for exact comparison. Although thread #242796 attributes this to a subset of #1117890, this thread contains the later matching series and therefore supplies the landing source.

  • Michael Paquiersaw the final versiontrailerIncluded and endorsed Alexander's checkpoint-wait stabilization in #17, followed only by the editorial revisions reported in #22.
Fix infinite wait when reading a partially written WAL record
19 Jul 2025Alexander Korotkovmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22Also in: pgsql: Improve runtime and output of tests for replication slots checkp (not this thread)
LLM analysis, 84% surelanded as postedfrom patchset #224 of 4 reviewers saw the final version

The xlogreader.c header-first fix matches the implementation in #8 and the final series described in #22, although unavailable final attachments prevent exact comparison. Attribution to thread #242796 as from_discussion is superseded by this thread's later matching submissions; that thread's June attachment did not change xlogreader.c.

  • Hayato Kurodasaw the final versiontrailerRaised performance concerns in #3, reproduced the PostgreSQL 17 failure in #14, and tested #17 in #18, after which only editorial changes were reported.
  • Dilip Kumarsaw the final versiontrailerDiscussussed the header-first approach in #4, accepted earlier length validation in #6, and accepted the performance results in #13, with no subsequent substantive change to the reader fix.
  • Michael Paquiersaw the final versiontrailerRequested earlier length validation in #2 and #5, reviewed assertions and performance in #10, and supplied a tested revision with benchmark results in #17.
  • Alexander Korotkovsaw the final versiontrailerReported reviewing the series and making editorial improvements in #22, then committed the final version.
Improve recovery test 046_checkpoint_logical_slot
19 Jul 2025Alexander KorotkovREL_17_STABLE17.6
LLM analysis, 85% surelanded as postedfrom patchset #221 of 1 reviewer saw the final version

The src/test/recovery/t/046_checkpoint_logical_slot.pl diff matches the PostgreSQL 17 variant described in #17 and included in #22: emit a long logical message before waking the checkpoint, then wait for completion. The commit credits Alexander Korotkov and co-author Hayato Kuroda; exact comparison is limited by the missing final attachment.

  • Michael Paquiersaw the final versiontrailerIdentified the missing checkpoint wait, incorporated the long-message reproducer, and verified the PostgreSQL 17 failure and fix in #17, with only editorial changes subsequently reported in #22.

Credits across 3 commits

Author
Alexander Korotkov2
vignesh C1
Reviewer
Michael Paquier3
Alexander Korotkov1
Dilip Kumar1
Hayato Kuroda (Fujitsu)1
Co author
Hayato Kuroda (Fujitsu)1
Committer
Alexander Korotkov3