Dec 2022

2 commits
Prevent pgstats from getting confused when relkind of a relation changes
3 Dec 2022Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7REL_13_STABLE13.10+2 moreAlso in: Failed Assert while pgstat_unlink_relation
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The canonical commit adds only a relkind-equality assertion and comment in src/backend/utils/cache/relcache.c, proposed by Tom Lane in #11 and accepted in #12; no attachment contains that assertion. Its commit message explicitly distinguishes this development-branch assertion from the PostgreSQL 15 fix represented by #8.

  • Tom Lanesaw the final versiontrailerTom requested moving unlinking outside the critical section in #7, endorsed using the revised fix for PostgreSQL 15 in #9, and proposed the committed development-branch assertion in #11.
Remove logic for converting a table to a view.
2 Dec 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #51 of 1 reviewer saw the final version

The eight-file diff is identical to #5 after ignoring index hashes, including the rewriteDefine.c removal, documentation changes, and regression updates. Tom Lane confirmed committing it in #15.

  • Andres Freundsaw the final versionLLM analysis, 92% sureAndres supported removing table-to-view conversion in #4 and accepted the plan to use that removal on HEAD and the statistics fix on PostgreSQL 15 in #10.

Credits across 2 commits

Author
Andres Freund1
Tom LaneLLM1
Reviewer
Tom Lane1
Reported by
vignesh C1
Committer
Andres Freund1
Tom Lane1

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