pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Barry Lind <blind@xythos.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [JDBC] Strange server error with current 8.0beta driver
Date: Sun, 21 Nov 2004 00:11:57 +1300
Message-ID: <419F267D.8040500@opencloud.com> (raw)
In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6C08B66@NSNOVPS00411.nacio.xythos.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6C08B66@NSNOVPS00411.nacio.xythos.com>

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



view thread (12+ messages)  latest in thread

Message-ID: <419F267D.8040500@opencloud.com>
Permalink:  ../419F267D.8040500@opencloud.com/
Also on:    postgresql.org/message-id/419F267D.8040500@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, blind@xythos.com, books@ejurka.com, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] Strange server error with current 8.0beta driver
  In-Reply-To: <419F267D.8040500@opencloud.com>
  References: <03E7D3E231BB7B4A915A6581D4296CC6C08B66@NSNOVPS00411.nacio.xythos.com> <419F267D.8040500@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox