Index: org/postgresql/core/v3/QueryExecutorImpl.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/core/v3/QueryExecutorImpl.java,v retrieving revision 1.47 diff -c -r1.47 QueryExecutorImpl.java *** org/postgresql/core/v3/QueryExecutorImpl.java 7 Dec 2009 22:03:06 -0000 1.47 --- org/postgresql/core/v3/QueryExecutorImpl.java 20 Mar 2010 19:38:33 -0000 *************** *** 980,986 **** error = new PSQLException(GT.tr("Got CopyData without an active copy operation"), PSQLState.OBJECT_NOT_IN_STATE); } else if (!(op instanceof CopyOutImpl)) { error = new PSQLException(GT.tr("Unexpected copydata from server for {0}", ! op == null ? "null" : op.getClass().getName()), PSQLState.COMMUNICATION_ERROR); } else { ((CopyOutImpl)op).handleCopydata(buf); } --- 980,986 ---- error = new PSQLException(GT.tr("Got CopyData without an active copy operation"), PSQLState.OBJECT_NOT_IN_STATE); } else if (!(op instanceof CopyOutImpl)) { error = new PSQLException(GT.tr("Unexpected copydata from server for {0}", ! op.getClass().getName()), PSQLState.COMMUNICATION_ERROR); } else { ((CopyOutImpl)op).handleCopydata(buf); }