Index: src/interfaces/libpq/fe-secure.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/interfaces/libpq/fe-secure.c,v
retrieving revision 1.36
diff -c -c -r1.36 fe-secure.c
*** src/interfaces/libpq/fe-secure.c	9 Jan 2004 02:17:15 -0000	1.36
--- src/interfaces/libpq/fe-secure.c	10 Feb 2004 15:16:51 -0000
***************
*** 1122,1127 ****
  	return (pthread_getspecific(thread_in_send) /* has it been set? */ &&
  			*(char *)pthread_getspecific(thread_in_send) == 't') ? true : false;
  #else
! 	return false;	/* No threading, so we can't be in send() */
  #endif
  }
--- 1122,1132 ----
  	return (pthread_getspecific(thread_in_send) /* has it been set? */ &&
  			*(char *)pthread_getspecific(thread_in_send) == 't') ? true : false;
  #else
! 	/*
! 	 *	No threading: our code ignores SIGPIPE around send().
! 	 *	Therefore, we can't be in send() if we are checking
! 	 *	from a SIGPIPE signal handler.
! 	 */
! 	return false;	
  #endif
  }
