Jul 2024

2 commits
Remove redundant SetProcessingMode(InitProcessing) calls
2 Jul 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

This commits only the second patch of #6: all six processing-mode hunks across five files have identical added and deleted lines. Heikki confirms committing the first two series members in #7.

  • Tom Lanesaw the final versionLLM analysis, 86% sureIn #5, Tom questioned whether forked children could inherit a changed processing mode and proposed moving child-only functions out of postmaster.c, which #6 implements while retaining the processing-mode patch.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
Move bgworker specific logic to bgworker.c
2 Jul 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

This commits only the first patch of #6, moving the same 83 lines from postmaster.c to bgworker.c. The function bodies are unchanged, but their insertion point moves from after TerminateBackgroundWorker() to after BackgroundWorkerMain().

  • Tom Lanesaw the final versionLLM analysis, 86% sureIn #5, Tom proposed relocating child-only functions containing SetProcessingMode(NormalProcessing) out of postmaster.c, directly motivating the behavior-preserving relocation in #6.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Xing Guo2
Reviewer
Heikki Linnakangascommitter2
Committer
Heikki Linnakangas2