[PATCH] Update HandleChildCrash comments - Mailing list pgsql-hackers

From Tender Wang
Subject [PATCH] Update HandleChildCrash comments
Date
Msg-id CAHewXNmMMg9_5ko9Rybt-1Q45f+M5=01TwyPFuEAV5Xcip7tcw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hello hackers,

The existing header comments for HandleChildCrash() in postmaster.c
are somewhat outdated,
as they only list a few auxiliary processes and miss several newer
ones added in recent versions, for example: walsummarizer, and
io_worker.

Instead of maintaining an exhaustive list of process names in the
comments, which can become stale.
This patch updates the comments to point directly to the
decision-making places: process_pm_child_exit() and CleanupBackend().

I have preserved the original description regarding the function's
objectives (cleaning up local state and signaling other children).

Please see the attached patch.

-- 
Thanks,
Tender Wang

Attachment

pgsql-hackers by date:

Previous
From: Haibo Yan
Date:
Subject: Re: Return pg_control from pg_backup_stop().
Next
From: Ashutosh Bapat
Date:
Subject: Re: Report bytes and transactions actually sent downtream