diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-08-17 16:54:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-08-17 16:54:47 +0000 |
commit | 3f0fa93cfc2442cb4952fa824525b4d7b4346db7 (patch) | |
tree | 1037540793e1fe8f5a214e48dbba6ee2b8395008 /doc/src | |
parent | 0d4aa039acb80df2018e4b8653dfedea89feefd2 (diff) | |
download | postgresql-3f0fa93cfc2442cb4952fa824525b4d7b4346db7.tar.gz postgresql-3f0fa93cfc2442cb4952fa824525b4d7b4346db7.zip |
Chain on to SIGPIPE handler rather than just do action on default.
Always create thread-specific variable.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index af9a35a620d..06c93306432 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.159 2004/08/16 02:12:29 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.160 2004/08/17 16:54:46 momjian Exp $ --> <chapter id="libpq"> @@ -3738,8 +3738,7 @@ When <productname>PostgreSQL</> is configured without <function>send()</> call and restores the original signal handler after completion. When <literal>--enable-thread-safety</> is used, <application>libpq</> installs its own <literal>SIGPIPE</> handler -before the first database connection if no custom <literal>SIGPIPE</> -handler has been installed previously. This handler uses thread-local +before the first database connection. This handler uses thread-local storage to determine if a <literal>SIGPIPE</> signal has been generated by a libpq <function>send()</>. If an application wants to install its own <literal>SIGPIPE</> signal handler, it should call |