Oct 2023

2 commits
Harden xxx_is_visible() functions against concurrent object drops.
14 Oct 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

No attachment changes namespace.c; #19 explicitly reserves visibility functions for separate work, and #21 and #22 demonstrate their failure. The commit adds IsVisibleExt helpers with is_missing outputs in src/backend/catalog/namespace.c, implementing that discussion.

  • Alexander Lakhinsaw the final versionLLM analysis, 97% sureAlexander identified the visibility functions' analogous unsafe lookup pattern in #8 and reproduced their failure with a parallel plan in #21, providing pre-commit testing for the separately developed fix.
Harden has_xxx_privilege() functions against concurrent object drops.
14 Oct 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #191 of 2 reviewers saw the final version

Applying both patches from #19 to the commit's parent reproduces all functional changes in aclchk.c, acl.c and acl.h. The committed result differs only by the comment punctuation and wrapping requested in #20 and removal of two blank lines.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureAlexander checked the has_*priv*_id functions for missing-object handling, endorsed the consistency improvements, and requested the comment punctuation correction incorporated into the commit #20.
  • Andy Fansaw an earlier versionLLM analysis, 92% sureAndy explicitly reviewed and endorsed Alexander's XML-query workaround #18, before Tom replaced it with the general ACL API changes in #19.

Credits across 2 commits

Author
Tom LaneLLM1
Committer
Tom Lane2

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