pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
От:
Andres Freund <andres@anarazel.de>
Дата:
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 Reviewed-By: Kyotaro Horiguchi Reviewed-By: Robert Haas 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(-)
Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
От:
Andres Freund <andres@anarazel.de>
Дата:
Hi, On 2021-08-05 19:36:30 +0000, Andres Freund wrote: > 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 > Reviewed-By: Kyotaro Horiguchi > Reviewed-By: Robert Haas > Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de Looking at the windows failures... Greetings, Andres Freund
Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
От:
Andres Freund <andres@anarazel.de>
Дата:
Hi, On 2021-08-05 14:41:09 -0700, Andres Freund wrote: > On 2021-08-05 19:36:30 +0000, Andres Freund wrote: > > 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 > > Reviewed-By: Kyotaro Horiguchi > > Reviewed-By: Robert Haas > > Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de > > Looking at the windows failures... A bit embarassing: https://www.postgresql.org/message-id/E1mBlyy-00015X-Rt%40gemulon.postgresql.org Once I went through the effort of getting my windows vm + msvc build running again it was fairly obvious... Perhaps we should get windows postgres work on wine, I don't think it'd take that much.