Patch - Streaming of PreparedStatement/setInputStream - Mailing list pgsql-jdbc

From Chris Smith
Subject Patch - Streaming of PreparedStatement/setInputStream
Date
Msg-id 00d201c2c947$67692440$6700000a@KYA
Whole thread Raw
List pgsql-jdbc
Here's a preliminary cut for my patch to do streaming of SQL to the server
when PreparedStatement is used with getInputStream.  The patch is to the
7.3.1 source.  It's not cleaned up or documented yet, but I'd like to get
some comments on the patch before I get into that.

This is the first patch I've written for Postgres, and I am unsure of the
full protocol for format and submission.  Anyone want to give me a pointer
for that?

Potential issues here involve:

1. I haven't done any documentation.
2. There's use of instanceof that I don't like.
3. This only works for setBinaryStream, not the other stream methods
(setAsciiStream and setUnicodeStream).

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Attachment

pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: problems with getImportedKeys method
Next
From: Richard Welty
Date:
Subject: arrays and jdbc