Index: org/postgresql/core/v3/SimpleParameterList.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v retrieving revision 1.12 diff -c -r1.12 SimpleParameterList.java *** org/postgresql/core/v3/SimpleParameterList.java 22 May 2006 09:52:37 -0000 1.12 --- org/postgresql/core/v3/SimpleParameterList.java 23 May 2006 20:25:08 -0000 *************** *** 81,86 **** --- 81,89 ---- count++; } } + // Every function has at least one output. + if (count == 0) + count = 1; return count; }