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.
Showing
- configure 12 additions, 0 deletionsconfigure
- configure.in 8 additions, 1 deletionconfigure.in
- doc/src/sgml/libpq.sgml 1 addition, 19 deletionsdoc/src/sgml/libpq.sgml
- doc/src/sgml/ref/copy.sgml 2 additions, 1 deletiondoc/src/sgml/ref/copy.sgml
- src/interfaces/libpq/fe-connect.c 1 addition, 10 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/fe-print.c 10 additions, 4 deletionssrc/interfaces/libpq/fe-print.c
- src/interfaces/libpq/fe-secure.c 73 additions, 59 deletionssrc/interfaces/libpq/fe-secure.c
- src/interfaces/libpq/libpq-fe.h 1 addition, 7 deletionssrc/interfaces/libpq/libpq-fe.h
- src/interfaces/libpq/libpq-int.h 7 additions, 6 deletionssrc/interfaces/libpq/libpq-int.h
Loading
Please register or sign in to comment