Split registration of Win32 deadchild callback to separate function
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 18 Mar 2024 09:35:01 +0000 (11:35 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 18 Mar 2024 09:35:01 +0000 (11:35 +0200)
commit14cddee9cce349d4bf024316e014ccf891c39cef
tree9dded59d877e5134f5f58281c7f67736cfd23371
parentca108be72e7abf1f801c8e49dcffbbbbf412c0d9
Split registration of Win32 deadchild callback to separate function

The next commit will move the internal_forkexec() function to a
different source file, but it makes sense to keep all the code related
to the win32 waitpid() emulation in postmaster.c. Split it off to a
separate function now, to make the next commit more mechanical.

Reviewed-by: Tristan Partin, Andres Freund
Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
src/backend/postmaster/postmaster.c