Rework libpq threaded SIGPIPE handling to avoid interference with

Bruce Momjian <bruce@momjian.us>

Commit: 8408f65252c23040e766b6a3ecde7bff390e2847
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-12-02T15:32:54Z
Releases: 8.0.0
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.

Files

PathChange+/−
configure modified +12 −0
configure.in modified +8 −1
doc/src/sgml/libpq.sgml modified +1 −19
doc/src/sgml/ref/copy.sgml modified +2 −1
src/interfaces/libpq/fe-connect.c modified +1 −10
src/interfaces/libpq/fe-print.c modified +10 −4
src/interfaces/libpq/fe-secure.c modified +73 −59
src/interfaces/libpq/libpq-fe.h modified +1 −7
src/interfaces/libpq/libpq-int.h modified +7 −6