summaryrefslogtreecommitdiff
path: root/src/backend/nodes/read.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-01-09 02:02:43 +0000
committerBruce Momjian <bruce@momjian.us>2004-01-09 02:02:43 +0000
commit0150dbdce54f24596547048d4d6617d62a2570a4 (patch)
treeb2093a0e2efb39f29ce45bc3464b25dd6b298fba /src/backend/nodes/read.c
parentacc57543debdd2de93c2c5df31702ef8ecd461b5 (diff)
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.
Diffstat (limited to 'src/backend/nodes/read.c')
-rw-r--r--src/backend/nodes/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/nodes/read.c b/src/backend/nodes/read.c
index 15abc4ac426..7be2ff403b4 100644
--- a/src/backend/nodes/read.c
+++ b/src/backend/nodes/read.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.37 2004/01/07 21:12:56 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.38 2004/01/09 02:02:43 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -22,6 +22,7 @@
#include <ctype.h>
#include <errno.h>
+#include "nodes/value.h"
#include "nodes/pg_list.h"
#include "nodes/readfuncs.h"
#include "nodes/value.h"