patch for passing the cts - Mailing list pgsql-jdbc

From Dave Cramer
Subject patch for passing the cts
Date
Msg-id 2BC23AE7-6381-41BA-AE89-CC81D1C932A7@fastcrypt.com
Whole thread Raw
Responses Re: patch for passing the cts
List pgsql-jdbc
Well the good news is that the driver and the backend will pass the
cts with this patch.

Rather than commit this as is, I'd like to discuss the patch as it is.

I'm really not happy with the handling of IN/OUT parameters in the
query executor, however deferring parsing doesn't seem to be an
option either.

We need to know how many parameters there are  before
CallableStatment.setXXX, and CallableStatement.registerOutParameter
are called.

The real solution is to extend the FE/BE protocol to specify IN/OUT
parameters and send them down the wire.


I do intend to move all of the 8.1 specific callable statement tests
out into their own file and optionally run them if the backend is 8.1
or greater.

Dave Cramer
davec@postgresintl.com
www.postgresintl.com
ICQ #14675561
jabber davecramer@jabber.org
ph (519 939 0336 )


Attachment

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Any example code of using passwords with JDBC?
Next
From: Roland Walter
Date:
Subject: Re: Any example code of using passwords with JDBC?