From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Martin Holz <holz(at)fiz-chemie(dot)de> |
Cc: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: jdbc1.AbstractJdbc1Statement.setBinaryStream bug and |
Date: | 2004-01-16 08:47:47 |
Message-ID: | Pine.LNX.4.33.0401160343320.15380-100000@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
On 16 Jan 2004, Martin Holz wrote:
> Kris Jurka <books(at)ejurka(dot)com> writes:
>
> > On Wed, 7 Jan 2004, Martin Holz wrote:
> >
> > > Hello,
> > >
> > > org.postgresql.jdbc1.AbstractJdbc1Statement.setBinaryStream()
> > > in postgresql 7.4.1 wrongly assumes, that
> > > java.io.InputStream.read(byte[] b,int offset,int len )
> > > will always read len bytes. InputStream only guarantees to
> > > return at least 1 byte per call. The attached patch solves the bug.
> > >
> >
> > I have applied a version of this patch to the cvs version on gborg. The
> > setAsciiStream and setUnicodeStream methods also had this problem.
>
> Thank you. Why does it not show up at
> http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java ?
>
All new development of the JDBC driver has moved to gborg.postgresql.org.
With a homepage of
http://gborg.postgresql.org/project/pgjdbc/projdisplay.php
and the webcvs url you are looking for is:
This patch should probably be applied to the stable version that will
remain in the 7.4 branch in the main cvs tree, but I don't have the
power to do anything about that.
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | mauro.folcarelli | 2004-01-16 11:20:41 | pg_connect(): Cannot create new link. Too many open links (0) |
Previous Message | Martin Holz | 2004-01-16 07:38:07 | Re: jdbc1.AbstractJdbc1Statement.setBinaryStream bug and |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Hargrave | 2004-01-16 14:04:06 | Invalid SQL still executes valid sub transactions in Prepared Statement |
Previous Message | Erwan Arzur | 2004-01-16 08:15:06 | Re: problem to connect to database |