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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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