process startup: Centralize pgwin32_signal_initialize() calls.

For one, the existing location lead to somewhat awkward code in main(). For
another, the new location is easier to understand anyway.

Author: Andres Freund <[email protected]>
Reviewed-By: Kyotaro Horiguchi <[email protected]>
Reviewed-By: Robert Haas <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07bf37850991c68a7038fb06186bddfd64c72faf

Modified Files
--------------
src/backend/main/main.c             | 29 +++++++++--------------------
src/backend/postmaster/postmaster.c |  9 ---------
src/backend/utils/init/miscinit.c   | 19 ++++++++++++++++++-
3 files changed, 27 insertions(+), 30 deletions(-)

Reply via email to