pgsql: Split registration of Win32 deadchild callback to separate funct

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Split registration of Win32 deadchild callback to separate funct
Date: 2024-03-18 09:40:36
Message-ID: E1rm9Tv-004QMk-Ui@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/14cddee9cce349d4bf024316e014ccf891c39cef

Modified Files
--------------
src/backend/postmaster/postmaster.c | 50 ++++++++++++++++++++++---------------
1 file changed, 30 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-03-18 11:12:46 pgsql: Add some const decorations
Previous Message Michael Paquier 2024-03-18 05:21:48 pgsql: Remove references to backup_fs_hot() in Cluster.pm