Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I think this is the patch I like.
The #if coding is messy and unnecessary. You could do the test as per
the non-POSIX variant using two calls of pqsignal(), and not have any
system dependence here, nor a need for <signal.h>.
regards, tom lane