Oct 2024

3 commits
Fix refreshing physical relfilenumber on shared index
31 Oct 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

This unattached follow-up adds RelationInitPhysicalAddr() to the early-startup shared-index path in src/backend/utils/cache/relcache.c. It fixes the buildfarm failure reported in #4, which Heikki reproduced and explained in #5.

Split RelationClearRelation into three different functions
31 Oct 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #10 of 1 reviewer saw the final version

This commits the third component of #1, splitting RelationClearRelation() in src/backend/utils/cache/relcache.c. Compared with the attachment, it replaces duplicated cleanup in two functions with RelationInvalidateRelation(), corrects stale comments, and reorders equivalent invalidation checks, incorporating the review in #2.

  • jian hesaw an earlier versiontrailerIn #2, jian he proposed sharing invalidation cleanup and identified an outdated locking comment; Heikki incorporated those local function changes before committing, as confirmed in #3.
Simplify call to rebuild relcache entry for indexes
31 Oct 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #10 of 1 reviewer saw the final version

This commits the second component of #1, routing index rebuilding through RelationClearRelation() and removing redundant cleanup from RelationReloadIndexInfo(). Its code changes match that component; the only substantive textual difference is correction of the duplicated word 'index' in the RelationBuildLocalRelation() comment.

  • jian heno review foundtrailerThe visible review in #2 addresses the separate function-splitting component, with no specific review activity shown for this index-call simplification.

Credits across 3 commits

Author
Heikki LinnakangasLLM2
Reviewer
jian he2
Committer
Heikki Linnakangas3

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