Actually, it's not that hard to merge the Windows pqsignal code ...

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f333204bbcd32091311b070e8f8ab4717dd8cadf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-08-31T19:52:56Z
Releases: 9.6.0
Actually, it's not that hard to merge the Windows pqsignal code ...

... just need to typedef sigset_t and provide sigemptyset/sigfillset,
which are easy enough.

Files

PathChange+/−
src/backend/libpq/pqsignal.c modified +1 −23
src/include/libpq/pqsignal.h modified +9 −12