Rework libpq threaded SIGPIPE handling to avoid interference with
authorBruce Momjian <bruce@momjian.us>
Thu, 2 Dec 2004 15:32:54 +0000 (15:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 2 Dec 2004 15:32:54 +0000 (15:32 +0000)
commitbaae82cb27dcb1d24abeb0a4ea1cba40b2543e28
treef89ea525a19f19612aef427cb4882c0fb2c18870
parentd8becd3b6f88ae6eb3a944fcc819db970d172db2
Rework libpq threaded SIGPIPE handling to avoid interference with
calling applications.  This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
configure
configure.in
doc/src/sgml/libpq.sgml
doc/src/sgml/ref/copy.sgml
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-print.c
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/libpq-fe.h
src/interfaces/libpq/libpq-int.h