Jan 2026

1 commit
Replace literal 0 with InvalidXLogRecPtr for XLogRecPtr assignments
29 Jan 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #321 of 1 reviewer saw the final version

The ten-file assignment cleanup matches #32, including both GiST additions; git patch-id --stable is identical. Differences are rebase context and whitespace alignment of the GistNSN declaration, with the landing confirmed in #48.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Dec 2025

1 commit
Replace pointer comparisons and assignments to literal zero with NULL
2 Dec 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #451 of 1 reviewer saw the final version

All six pointer replacements across five files match #45, with identical stable patch IDs. Peter's pgindent adjustment in src/backend/nodes/copyfuncs.c, reported in #46, changes only whitespace.

  • Peter Eisentrautsaw the final versioncommittercommitted the patch

Nov 2025

2 commits
Use XLogRecPtrIsValid() in various places
6 Nov 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #191 of 4 reviewers saw the final version

Combines the three caller/comparison conversion patches from #19, leaving macro introduction and deprecation separate, as confirmed in #20. Committer edits invert ternary conditions and branches in src/backend/replication/walsender.c, rewrite the assertion in xlogbackup.c, and remove redundant parentheses in xlogrecovery.c.

  • Quan Zongliangsaw an earlier versionLLM analysis, 96% sureEndorsed the original patch's consistent use of validity macros in #2, before the affirmative API and expanded conversion scope.
  • Heikki Linnakangassaw an earlier versionLLM analysis, 99% sureIdentified the awkward double negative and proposed switching callers to XLogRecPtrIsValid() in #3, prompting the subsequent rework.
  • Peter Eisentrautsaw an earlier versionLLM analysis, 86% sureChallenged the cleanup's unenforced type abstraction and continuing maintenance burden in #8, before the expanded affirmative-macro implementation.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch
Introduce XLogRecPtrIsValid()
6 Nov 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #192 of 4 reviewers saw the final version

Takes only the macro-introduction component of #19, adding XLogRecPtrIsValid() in src/include/access/xlogdefs.h while retaining the old macro. Álvaro omitted the proposed discouraging comment and backpatched the definition through PostgreSQL 13, as explained in #20 and the commit message.

  • Heikki Linnakangassaw an earlier versionLLM analysis, 99% sureProposed the affirmative XLogRecPtrIsValid() API in #3 while reviewing the original cleanup, before its implementation was attached.
  • Michael Paquiersaw an earlier versionLLM analysis, 95% sureRaised external backup-tool compatibility concerns in #5, which the additive API and retention of XLogRecPtrIsInvalid() addressed.
  • Peter Eisentrautsaw the final versionLLM analysis, 93% sureObjected to warnings before the replacement was widely available in #11 and accepted a comment-only approach in #13; the committed macro introduction subsequently changed only comments, formatting, and packaging.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Bertrand Drouvot4
Reviewer
Alvaro Herreracommitter3
Peter Eisentrautcommitter1
Committer
Alvaro Herrera3
Peter Eisentraut1