pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Fix for changing parameter types with server prepared statements
Date: Mon, 31 Jan 2005 08:08:41 +1300
Message-ID: <41FD30B9.2040509@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0501300102030.16446@leary.csoft.net>
References: <BAYC1-PASMTP01298C210325B348452D7995850@cez.ice>
	<41F557C8.6030805@opencloud.com>
	<BAYC1-PASMTP0179C8EF006D25C7EB161295860@cez.ice>
	<41F6B5CE.3040107@opencloud.com>
	<Pine.BSO.4.56.0501251726160.19087@leary.csoft.net>
	<41F6D3EC.5000103@opencloud.com>
	<41F97168.9050006@opencloud.com>
	<Pine.BSO.4.56.0501300102030.16446@leary.csoft.net>

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



view thread (6+ messages)  latest in thread

Message-ID: <41FD30B9.2040509@opencloud.com>
Permalink:  ../41FD30B9.2040509@opencloud.com/
Also on:    postgresql.org/message-id/41FD30B9.2040509@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, books@ejurka.com
  Subject: Re: Fix for changing parameter types with server prepared statements
  In-Reply-To: <41FD30B9.2040509@opencloud.com>
  References: <BAYC1-PASMTP01298C210325B348452D7995850@cez.ice> <41F557C8.6030805@opencloud.com> <BAYC1-PASMTP0179C8EF006D25C7EB161295860@cez.ice> <41F6B5CE.3040107@opencloud.com> <Pine.BSO.4.56.0501251726160.19087@leary.csoft.net> <41F6D3EC.5000103@opencloud.com> <41F97168.9050006@opencloud.com> <Pine.BSO.4.56.0501300102030.16446@leary.csoft.net> <41FD30B9.2040509@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