process startup: Centralize pgwin32_signal_initialize() calls.
authorAndres Freund <[email protected]>
Thu, 5 Aug 2021 19:36:06 +0000 (12:36 -0700)
committerAndres Freund <[email protected]>
Thu, 5 Aug 2021 19:36:06 +0000 (12:36 -0700)
commit07bf37850991c68a7038fb06186bddfd64c72faf
treec929af8139ca608e480249f3e767004d401f54db
parentf8dd4ecb0b7fc3420e199021375e622815cd326f
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/20210802164124[email protected]
src/backend/main/main.c
src/backend/postmaster/postmaster.c
src/backend/utils/init/miscinit.c