This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_1_407 in repository libpostgresql-jdbc-java.
commit b60938e458c03a05bff8cbe528be6aaca72754ce Author: Kris Jurka <[email protected]> Date: Tue May 23 23:05:29 2006 +0000 Using callable statements against older server versions (7.4 or 8.0) did not work because of recent changes to output parameter handling. 7.4 and 8.0 do not support function output parameters, but they still must support the functions return value. Every function must have either a return value or an output parameter so we force the minimum output parameter count to one. --- org/postgresql/core/v3/SimpleParameterList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org/postgresql/core/v3/SimpleParameterList.java b/org/postgresql/core/v3/SimpleParameterList.java index 39168ea..07916f4 100644 --- a/org/postgresql/core/v3/SimpleParameterList.java +++ b/org/postgresql/core/v3/SimpleParameterList.java @@ -4,7 +4,7 @@ * Copyright (c) 2004, Open Cloud Limited. * * IDENTIFICATION -* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.10 2005/07/08 17:38:29 davec Exp $ +* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.10.2.1 2006/05/22 09:56:32 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -85,6 +85,9 @@ class SimpleParameterList implements V3ParameterList { count++; } } + // Every function has at least one output. + if (count == 0) + count = 1; return count; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

