Sep 2020

4 commits
Log a message when resorting to SIGKILL during shutdown/crash recovery.
11 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

The two-line LOG addition before TerminateChildren(SIGKILL) in src/backend/postmaster/postmaster.c implements Tom Lane's proposal in #8, prompted by Andres Freund's observability concern in #7. Neither attachment contains this change.

Don't run atexit callbacks during signal exits from ProcessStartupPacket.
11 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surelanded as postedfrom patchset #20

The committed diff matches #20 exactly apart from abbreviated index hashes across postmaster.c, ipc.c, and ipc.h, including both _exit(1) replacements and check_on_shmem_exit_lists_are_empty().

Use _exit(2) for SIGQUIT during ProcessStartupPacket, too.
10 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1+5 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12

The commit preserves all functional changes in #12. Differences are limited to naming the handler process_startup_packet_die() instead of startup_packet_die() and minor comment edits, including restoring SIGQUIT in the signal-blocking comment.

Make archiver's SIGQUIT handler exit via _exit().
9 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1+5 more
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit replaces pgarch_exit() with SignalHandlerForCrashExit in src/backend/postmaster/pgarch.c, implementing the separately proposed work identified in #1 and accepted in #3; neither attachment covers pgarch.c. The commit explicitly credits Kyotaro Horiguchi, who acknowledges its landing in #15.

  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Tom LaneLLM2
Kyotaro HoriguchiLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane4

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