Jun 2021

2 commits
Improve RelationGetIdentityKeyBitmap().
28 Jun 2021Amit Kapilamaster14beta3REL_19_STABLE14beta3REL_18_STABLE14beta3REL_17_STABLE14beta3REL_16_STABLE14beta3REL_15_STABLE14beta3REL_14_STABLE14beta3
LLM analysis, 100% surelanded as postedfrom patchset #172 of 2 reviewers saw the final version

ee3fdb8f34 matches all three hunks of #17 in src/backend/utils/cache/relcache.c, replacing RelationGetIndexList() with RelationGetReplicaIndex() and removing indexoidlist handling.

  • Takamichi Osumisaw the final versiontrailerIn #18, Osumi explicitly reviewed #17, found it acceptable, and reported that make check-world passed.
  • Amit Kapilasaw the final versiontrailerKapila proposed RelationGetReplicaIndex() in #14, endorsed the equivalent inline implementation in #16, and committed #17 as confirmed in #19.
Handle no replica identity index case in RelationGetIdentityKeyBitmap.
19 Jun 2021Amit Kapilamaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #81 of 2 reviewers saw the final version

2731ce1bd5 derives from #8, retaining the invalid replica-index guard but raising ERROR for an invalid index relation and dropping the rd_index sanity check and its explanation. As confirmed in #10, the regression test was integrated into src/test/subscription/t/001_rep_changes.pl instead of adding a separate file.

  • Takamichi Osumisaw an earlier versiontrailerIn #4, Osumi reproduced the crash, verified that #1 passed its test, and suggested RelationIsValid(), but the committed version subsequently changed error handling and removed a defensive check.
  • Amit Kapilasaw the final versiontrailerKapila reviewed the checks in #5 and #9, then committed the revised error handling and relocated test as reported in #10.

Credits across 2 commits

Author
Japin Li1
Mark Dilger1
Reviewer
Amit Kapila2
osumi.takamichi@fujitsu.com2
Committer
Amit Kapila2