Oct 2023

6 commits
worker_spi: Bump up max_worker_processes in TAP tests
16 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #391 of 1 reviewer saw the final version

The commit exactly matches #39: two explanatory comment lines and max_worker_processes = 32 in src/test/modules/worker_spi/t/001_worker_spi.pl.

  • Tom Lanesaw the final versiontrailerIn #40, Tom agreed with the diagnosis and proposed limit increase after attempting about 100 reproductions.
Add option to bgworkers to allow the bypass of role login check
12 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #361 of 3 reviewers saw the final version

Matches the implementation in #36, with comment and documentation edits plus minor Perl test cleanup, including removal of the redundant explicit timeout die; #37 confirms application with comment tweaks.

  • Nathan Bossartsaw an earlier versiontrailerNathan expressed support in #17, but the quote-stripped reply does not identify its precise patchset, and the InitPostgres() interface rework followed.
  • Michael Paquiersaw the final versiontrailerMichael reviewed the initialization interface and test design, supplied revisions, and committed the final version with cleanup in #37.
  • Bharath Rupireddysaw an earlier versiontrailerBharath questioned API compatibility in #6, requested non-superuser testing in #14, and refined wording in #16, before the later InitPostgres() refactoring.
Refactor InitPostgres() to use bitwise option flags
11 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #291 of 1 reviewer saw the final version

Takes only the first patch of #29, replacing InitPostgres() boolean arguments with bits32 flags across six files; its code changes match that component exactly.

  • Bertrand Drouvotsaw the final versiontrailerBertrand reviewed the refactoring and said it looked good in #30, with a comment suggestion and a bit-value question withdrawn in #31.
worker_spi: Fix another stability issue with BGWORKER_BYPASS_ALLOWCONN
10 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #231 of 1 reviewer saw the final version

Retains the dedicated database and psql() changes from #23, but removes the pg_stat_activity count assertion and reformats the Perl; #27 explicitly confirms that removal.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom diagnosed the safe_psql race in #22, then reported dozens of successful test cycles and proposed removing the redundant assertion in #24, before the commit.
worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN
6 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #152 of 2 reviewers saw the final version

Extracts the ALLOWCONN test component last carried in #15, including restoration of ALLOW_CONNECTIONS true from the accompanying feature patch. Michael introduced this test in #12, and Bertrand explicitly identified it as Michael's unchanged patch in #13.

  • Bertrand Drouvotsaw the final versiontrailerBertrand explicitly reviewed and approved the ALLOWCONN test patch in #13, after which only light test cleanup accompanied its extraction.
  • Bharath Rupireddysaw the final versiontrailerBharath explicitly said the ALLOWCONN test component looked good in #14.
worker_spi: Expand set of options to start workers
5 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 96% surepart of a posted patchsetmoderate changesfrom patchset #110 of 1 reviewer saw the final version

Combines the worker_spi prerequisite from #10 with flag plumbing retained in #11, leaving the login-bypass feature out. Committer edits add SQL argument defaults, simplify role fallback, correct bgw_extra offsets, and test workers in different databases.

  • Bertrand Drouvotsaw an earlier versiontrailerBertrand approved the refactoring and flag support and identified redundant role fallback in #11, before the committed SQL defaults and remaining local implementation adjustments.

Credits across 6 commits

Author
Michael PaquierLLM5
Bertrand Drouvot1
Reviewer
Bertrand Drouvot3
Bharath Rupireddy2
Michael Paquier1
Nathan Bossart1
Tom Lane1
Committer
Michael Paquier6

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