pgsql: process startup: Centralize pgwin32_signal_initialize() calls.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
Date: 2021-08-05 19:36:30
Message-ID: E1mBjAM-0007ms-Qh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <andres(at)anarazel(dot)de>
Reviewed-By: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Reviewed-By: Robert Haas <robertmhaas(at)gmail(dot)com>
Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de

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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2021-08-05 21:26:06 pgsql: Improve numeric_power() tests for large integer powers.
Previous Message Andres Freund 2021-08-05 19:26:25 pgsql: process startup: Separate out BootstrapModeMain from AuxiliaryPr