pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
3+ messages / 1 participants
[nested] [flat]

Commits from this thread:
  2021-08-05 0de13bbc47  Call pgwin32_signal_initialize() in postmaster as well.
* pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
@ 2021-08-05 19:36 Andres Freund <andres@anarazel.de>
  2021-08-05 21:41 ` Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Andres Freund @ 2021-08-05 19:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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@anarazel.de>
Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-By: Robert Haas <robertmhaas@gmail.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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
  2021-08-05 19:36 pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
@ 2021-08-05 21:41 ` Andres Freund <andres@anarazel.de>
  2021-08-05 23:13   ` Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Andres Freund @ 2021-08-05 21:41 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Looking at the windows failures...

Greetings,

Andres Freund





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
  2021-08-05 19:36 pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
  2021-08-05 21:41 ` Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
@ 2021-08-05 23:13   ` Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Andres Freund @ 2021-08-05 23:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <andres@anarazel.de>
> > Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
> > Reviewed-By: Robert Haas <robertmhaas@gmail.com>
> > 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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-08-05 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 19:36 pgsql: process startup: Centralize pgwin32_signal_initialize() calls. Andres Freund <andres@anarazel.de>
2021-08-05 21:41 ` Andres Freund <andres@anarazel.de>
2021-08-05 23:13   ` Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox