Index: org/postgresql/core/v3/SimpleQuery.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/core/v3/SimpleQuery.java,v retrieving revision 1.10 diff -c -r1.10 SimpleQuery.java *** org/postgresql/core/v3/SimpleQuery.java 26 Apr 2006 20:06:53 -0000 1.10 --- org/postgresql/core/v3/SimpleQuery.java 25 Jul 2006 18:55:41 -0000 *************** *** 91,97 **** // Check for compatible types. for (int i = 0; i < paramTypes.length; ++i) ! if (paramTypes[i] != preparedTypes[i]) return false; return true; --- 91,97 ---- // Check for compatible types. for (int i = 0; i < paramTypes.length; ++i) ! if (paramTypes[i] != 0 && paramTypes[i] != preparedTypes[i]) return false; return true;