postgresql/src/include/libpq
Thomas Munro c94ae9d827 Emulate sigprocmask(), not sigsetmask(), on Windows.
Since commit a65e0864, we've required Unix systems to have
sigprocmask().  As noted in that commit's message, we were still
emulating the historical pre-standard sigsetmask() function in our
Windows support code.  Emulate standard sigprocmask() instead, for
consistency.

The PG_SETMASK() abstraction is now redundant and all calls could in
theory be replaced by plain sigprocmask() calls, but that isn't done by
this commit.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/3153247.1657834482%40sss.pgh.pa.us
2022-07-16 17:03:38 +12:00
..
auth.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
be-fsstubs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
be-gssapi-common.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
crypt.h Improve error handling of cryptohash computations 2022-01-11 09:55:16 +09:00
hba.h Add system view pg_ident_file_mappings 2022-03-29 10:15:48 +09:00
ifaddr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq-be.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
libpq-fs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pqcomm.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pqformat.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pqmq.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pqsignal.h Emulate sigprocmask(), not sigsetmask(), on Windows. 2022-07-16 17:03:38 +12:00
sasl.h Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
scram.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00