Mar 2025

2 commits
Avoid invalidating all RelationSyncCache entries on publication rename.
13 Mar 2025Amit Kapilamaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #221 of 2 reviewers saw the final version

The commit incorporates both patches from #22, preserving the rename and transactional invalidation implementation. Differences are formatting and edits to src/test/subscription/t/007_ddl.pl, including cleanup and removal of the resumed-replication assertion, consistent with #23.

  • Hou Zhijiesaw an earlier versiontrailerHou demonstrated the partition-root TRUNCATE bug in #16 and reviewed the invalidation infrastructure while supplying the rename refactor in #19, after which #20 changed invalidation placement and reused generic name checks.
  • Amit Kapilasaw the final versiontrailerAmit directed the invalidation design, supplied #18, consolidated the implementation in #21, requested tests, and committed the final version as reported in #23.
Avoid invalidating all RelationSyncCache entries on publication change.
6 Mar 2025Amit Kapilamaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #52 of 2 reviewers saw the final version

The commit takes only the first of three patches in #5, removing PUBLICATIONRELMAP and PUBLICATIONNAMESPACEMAP callbacks from src/backend/replication/pgoutput/pgoutput.c. Its implementation matches that component, with the schema-rename optimization comment rewritten as acknowledged in #7.

  • Hou Zhijiesaw the final versiontrailerIn #4, Hou verified partition-tree invalidation, explained why existing relcache messages suffice, and requested the callback-comment correction included in #5, with only comment changes before landing.
  • Amit Kapilasaw the final versiontrailerAmit requested the independently committable callback-removal patch in #2 and confirmed in #7 that he reviewed and pushed it with minor comment changes.

Credits across 2 commits

Author
Hayato Kuroda (Fujitsu)2
Shlok Kyal2
Reviewer
Amit Kapila2
Zhijie Hou (Fujitsu)2
Committer
Amit Kapila2