X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5C0B03A4C8F; Sat, 20 Nov 2004 11:08:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96083-07; Sat, 20 Nov 2004 11:08:03 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id AC7983A4CC2; Sat, 20 Nov 2004 11:08:04 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CVT5v-0004rj-00; Sun, 21 Nov 2004 00:07:55 +1300 Message-ID: <419F267D.8040500@opencloud.com> Date: Sun, 21 Nov 2004 00:11:57 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.9 (X11/20041115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Barry Lind Cc: Kris Jurka , pgsql-jdbc@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: [JDBC] Strange server error with current 8.0beta driver References: <03E7D3E231BB7B4A915A6581D4296CC6C08B66@NSNOVPS00411.nacio.xythos.com> In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6C08B66@NSNOVPS00411.nacio.xythos.com> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/727 X-Sequence-Number: 61299 Barry Lind wrote: > Environment #1: WinXP 8.0beta4 server, 8.0jdbc client > 2004-11-19 12:19:06 ERROR: unrecognized node type: 25344832 > Environment #2: Sun Solaris 7.4.3 server, 8.0jdbc client > ERROR: no value found for parameter 1 From memory the 7.4.3 behaviour you see can happen if you DECLARE CURSOR with a parameterized query (executes OK) then try to FETCH from it (fails with the above error, as the original parameter values from DECLARE execution are not stored with the portal). The parameterization can happen either via V3 protocol Parse/Bind or via function execution, IIRC. I put together a patch to fix this that made it into 8.0 (with some changes IIRC), perhaps the bug lies in there somewhere. -O