Dec 2020

2 commits
Suppress log spam from multiple reports of SIGQUIT shutdown.
29 Dec 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11

The commit preserves the WARNING_CLIENT_ONLY implementation from #11, with matching changes in elog.c and elog.h. In postgres.c it additionally clears error_context_stack before reporting SIGQUIT, implementing the refinement proposed in #13 and confirmed in #14.

Improve client error messages for immediate-stop situations.
24 Dec 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The commit retains the four-file implementation from #1, changing the immediate-stop message from 'administrator command' to 'immediate shutdown command' and adding a blank line in postmaster.c. The wording follows Bharath Rupireddy's review #2; Tom Lane confirmed the landing without a switch default in #6.

  • Bharath Rupireddysaw the final versionLLM analysis, 99% sureBharath questioned the shared-memory access in GetQuitSignalReason() and proposed explicit immediate-shutdown wording that was incorporated before commit #2.

Credits across 2 commits

Author
Tom LaneLLM2
Committer
Tom Lane2

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