OSDN Git Service

Allow libpq to do thread-safe SIGPIPE handling. This allows it to
authorBruce Momjian <bruce@momjian.us>
Fri, 9 Jan 2004 02:02:43 +0000 (02:02 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 9 Jan 2004 02:02:43 +0000 (02:02 +0000)
commit0150dbdce54f24596547048d4d6617d62a2570a4
treeb2093a0e2efb39f29ce45bc3464b25dd6b298fba
parentacc57543debdd2de93c2c5df31702ef8ecd461b5
Allow libpq to do thread-safe SIGPIPE handling.  This allows it to
ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE,
unless the user installs their own signal handler.

This is a minor fix because the only time you get SIGPIPE from libpq's
send() is when the backend dies.
doc/src/sgml/libpq.sgml
src/backend/nodes/read.c
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
src/interfaces/libpq/pqsignal.c
src/interfaces/libpq/pqsignal.h