Index: pgsql/src/interfaces/libpq/fe-exec.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v
retrieving revision 1.178
diff -c -r1.178 fe-exec.c
*** pgsql/src/interfaces/libpq/fe-exec.c	11 Jan 2006 08:43:13 -0000	1.178
--- pgsql/src/interfaces/libpq/fe-exec.c	25 Jan 2006 09:16:13 -0000
***************
*** 1476,1488 ****
  	}
  
  	/*
! 	 * Check for NOTICE messages coming back from the server.  Since the
! 	 * server might generate multiple notices during the COPY, we have to
! 	 * consume those in a reasonably prompt fashion to prevent the comm
! 	 * buffers from filling up and possibly blocking the server.
  	 */
- 	if (!PQconsumeInput(conn))
- 		return -1;				/* I/O failure */
  	parseInput(conn);
  
  	if (nbytes > 0)
--- 1476,1483 ----
  	}
  
  	/*
! 	 * Parse any messages that may have arrived from the server
  	 */
  	parseInput(conn);
  
  	if (nbytes > 0)
