Oct 2025

5 commits
Fix privilege checks for pg_prewarm() on indexes.
17 Oct 2025Nathan Bossartmaster19beta1REL_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 #491 of 2 reviewers saw the final version

The commit contains the pg_prewarm C changes from #49, with base-context differences, but omits its contrib/pg_prewarm/t/001_basic.pl additions and the other series components. Its Author and Co-authored-by trailers credit Ayush Vatsa and Nathan Bossart.

  • Tom Lanesaw an earlier versiontrailerTom examined the unlocked parent-table ACL check in #26, before the subsequent addition of parent-first locking and OID-reuse checks.
  • Jeff Davissaw the final versiontrailerJeff questioned lock ordering in #45 and endorsed the pg_prewarm patch and backpatch with comment suggestions in #48, after which only comments and test omission affected this component.
Fix lookup code for REINDEX INDEX.
15 Oct 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #491 of 2 reviewers saw the final version

The src/backend/commands/indexcmds.c changes exactly match the REINDEX component of #49. This commit takes that component alone from the three-patch series.

  • Tom Lanesaw an earlier versiontrailerTom identified the denial-of-service problem with checking privileges after locking in #32, before the later replacement of unconditional unlock/relock behavior with OID-reuse errors.
  • Jeff Davissaw the final versiontrailerJeff examined the privilege-check ordering in #36 and endorsed the revised REINDEX race-condition errors in #45, with only comment changes following.
Fix redefinition of typedef RangeVar.
15 Oct 2025Nathan BossartREL_18_STABLE18.1
LLM analysis, 100% surewritten from the discussion, no matching patch

After reporting buildfarm failures in #51, Nathan replaced the repeated RangeVar typedef with a struct forward declaration and adjusted the callback prototype in src/include/statistics/stat_utils.h. No attached patchset contains this two-line compatibility repair.

Fix lookups in pg_{clear,restore}_{attribute,relation}_stats().
15 Oct 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #490 of 1 reviewer saw the final version

The commit takes the five-file statistics component of #49, including RangeVarCallbackForStats and the changed index-lock expectation. The only changed-line difference within that component clarifies a comment from the index's relation to its parent table.

  • Jeff Davissaw an earlier versiontrailerJeff reviewed the statistics patches in #35, #36, #40, and #45, but the subsequent version changed an OID-reuse branch from unlocking and continuing to throwing an error.
dblink: Avoid locking relation before privilege check.
14 Oct 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #421 of 1 reviewer saw the final version

The contrib/dblink/dblink.c changes exactly match the dblink component of #42, introducing RangeVarCallbackForDblink and checking permissions through RangeVarGetRelidExtended(). Its separate landing explains the component's removal in #49.

  • Jeff Davissaw the final versiontrailerJeff said the dblink component looked good in #45, and Nathan acknowledged that review before announcing its imminent commit in #46.

Credits across 5 commits

Author
Nathan BossartLLM3
Ayush Vatsa1
Reviewer
Jeff Davis4
Tom Lane2
Co author
Nathan Bossart1
Committer
Nathan Bossart5

N LLM means N of the credits come from LLM analysis, not from commit trailers.