Jul 2022

3 commits
Fix lock assertions in dshash.c.
11 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3REL_14_STABLE14.5REL_13_STABLE13.8+2 moreAlso in: pgsql: dshash: Add sequential scan support. (modified before commit)
Default to dynamic_shared_memory_type=sysv on Solaris.
2 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Thomas Munro proposed choosing sysv on Solaris for PostgreSQL 15 and later in #8 and confirmed the decision in #10. The commit implements that choice in src/bin/initdb/initdb.c and adjusts the configuration documentation.

  • Robert Haassaw the final versionLLM analysis, 99% sureRobert Haas endorsed selecting a platform-dependent shared-memory default and agreed with avoiding mmap in #9, before the agreed Solaris sysv change was committed.
Harden dsm_impl.c against unexpected EEXIST.
1 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3REL_14_STABLE14.5REL_13_STABLE13.8+3 more
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Thomas Munro supplied the inline DSM_OP_ATTACH condition in #5; the commit applies it to the posix, sysv and mmap error paths in src/backend/storage/ipc/dsm_impl.c. In #8 he confirmed the additional paths and explained that Robert Haas's proposed defensive wrapper was omitted.

  • Robert Haassaw the final versiontrailerRobert Haas judged the inline fix correct in #7; the committed version only extended the same condition to analogous sysv and mmap paths.

Credits across 3 commits

Author
Thomas MunroLLM1
Reviewer
Andres Freund1
Kyotaro Horiguchi1
Robert Haas1
Zhihong Yu1
Reported by
Andres Freund1
Tom Lane1
Committer
Thomas Munro3

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