Skip site navigation (1) Skip section navigation (2)

Re: Fix for changing parameter types with server prepared statements

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Fix for changing parameter types with server prepared statements
Date: 2005-01-30 19:08:41
Message-ID: 41FD30B9.2040509@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Kris Jurka wrote:

> A problem I came across is that it will actually require a reparse on the 
> second execution above because the prepared statements parameters are 
> cloned and stored during QueryExecutorImpl.sendParse which is before the 
> results of the describe statement message can be fed back into the system.  
> Any ideas on this would be appreciated.

Also store the statement itself in the describe queue, and update (in 
the cloned array attached to the statement) any parameter OIDs that are 
currently 0 when the ParameterDescription arrives?

-O

In response to

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2005-01-30 19:13:13
Subject: Re: Fix for changing parameter types with server prepared statements
Previous:From: Kris JurkaDate: 2005-01-30 11:08:38
Subject: Re: ResultSet got NullPointerException on getMetaData calls

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group