pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Switch flags tracking pending interrupts to sig_atomic_t
Date: Wed, 26 Sep 2018 22:48:24 +0000
Message-ID: <E1g5IbY-0003sK-Ch@gemulon.postgresql.org> (raw)

Switch flags tracking pending interrupts to sig_atomic_t

Those previously used bool, which should be safe on any modern
platforms, however the C standard is clear that it is better to use
sig_atomic_t for variables manipulated in signal handlers.  This commit
adds at the same time PGDLLIMPORT to ClientConnectionLost.

Author: Michael Paquier
Reviewed-by: Tom Lane, Chris Travers, Andres Freund
Discussion: https://postgr.es/m/20180925011311.GD1354@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba16aade337b16028d1e9e156d83417097c13817

Modified Files
--------------
src/backend/utils/init/globals.c | 10 +++++-----
src/include/miscadmin.h          | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)



Message-ID: <E1g5IbY-0003sK-Ch@gemulon.postgresql.org>
Permalink:  ../E1g5IbY-0003sK-Ch@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g5IbY-0003sK-Ch@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Switch flags tracking pending interrupts to sig_atomic_t
  In-Reply-To: <E1g5IbY-0003sK-Ch@gemulon.postgresql.org>
  References: <E1g5IbY-0003sK-Ch@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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