*** org/postgresql/core/v3/QueryExecutorImpl.java	2007-10-15 13:06:24.000000000 +0500
--- org/postgresql/core/v3/QueryExecutorImpl.java	2007-12-13 20:37:28.000000000 +0500
***************
*** 1439,1445 ****
  
                      int l_len = pgStream.ReceiveInteger4();
                      /* discard */
!                     pgStream.Receive(l_len);
  
                      handler.handleError(new PSQLException(GT.tr("The driver currently does not support COPY operations."), PSQLState.NOT_IMPLEMENTED));
                  }
--- 1439,1446 ----
  
                      int l_len = pgStream.ReceiveInteger4();
                      /* discard */
!                     // read l_len-4 (length includes the 4 bytes for message length itself
!                     pgStream.Receive(l_len - 4);
  
                      handler.handleError(new PSQLException(GT.tr("The driver currently does not support COPY operations."), PSQLState.NOT_IMPLEMENTED));
                  }
