From 0150dbdce54f24596547048d4d6617d62a2570a4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 9 Jan 2004 02:02:43 +0000 Subject: 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. --- src/backend/nodes/read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/nodes') 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 #include +#include "nodes/value.h" #include "nodes/pg_list.h" #include "nodes/readfuncs.h" #include "nodes/value.h" -- cgit v1.2.3