Jul 2022

3 commits
Fix new auto_explain test case for Windows.
27 Jul 2022Tom Lanemaster16beta1REL_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

No attachment contains this follow-up: it adds Windows authentication setup and scopes PGUSER with local in contrib/auto_explain/t/001_auto_explain.pl. The latter implements Ilmari's suggestion #23, and Tom confirms both changes in #25.

  • Dagfinn Ilmari MannsÃ¥kersaw the final versionLLM analysis, 100% sureHe identified that assigning undef does not unset PGUSER and proposed the local-in-block solution adopted in the follow-up commit #23 #25.
Add test for session_preload_libraries and parameter permissions checks.
25 Jul 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #211 of 1 reviewer saw the final version

The commit retains the PGOPTIONS and session_preload_libraries changes from #21, updates comments and a query target, and adds non-superuser GRANT SET success and permission-denial tests in contrib/auto_explain/t/001_auto_explain.pl. Tom explicitly reports adding the permission tests before committing #22.

  • Tom Lanesaw the final versioncommittercommitted the patch
Process session_preload_libraries within InitPostgres's transaction.
25 Jul 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3
LLM analysis, 100% suremodified before commitlight changesfrom patchset #161 of 3 reviewers saw the final version

All functional changes match #16; the differences are comments in src/backend/utils/init/postinit.c clarifying local_preload_libraries, standalone backends, and parallel workers. Tom confirms pushing the patch after comment adjustments #20.

  • Nathan Bossartsaw the final versionLLM analysis, 100% sureHe challenged the process-type guard's maintainability, reviewed the final argument-based patch, requested mention of local_preload_libraries, and supported retaining the new argument after considering standalone backends #13 #17 #19.
  • Kyotaro Horiguchisaw an earlier versionLLM analysis, 100% sureHe identified the redundant assertion and unintended loading in autovacuum and background workers, prompting guards that were subsequently replaced by an explicit InitPostgres() argument #11 #12 #16.
  • Michael Paquiersaw an earlier versionLLM analysis, 99% sureHe examined initialization-mode safety, questioned the assertion, requested non-superuser test coverage, and identified unnecessary bootstrap loading before the later eligibility and API changes #10.

Credits across 3 commits

Author
Dagfinn Ilmari MannsåkerLLM1
Tom LaneLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane3

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