Skip site navigation (1) Skip section navigation (2)

Re: truncated InputStream returned with getAsciiInputStream()

From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: Isabelle Therrien <therriei(at)LUB(dot)UMontreal(dot)CA>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: truncated InputStream returned with getAsciiInputStream()
Date: 2001-08-31 17:57:43
Message-ID: 8vjvotkirij1irlk2fg81sjpa2isqbh8vn@4ax.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
On Thu, 30 Aug 2001 18:24:30 -0400, you wrote:
>So now, to store my data in the database, I use BLOB instead of TEXT.
>It works fine, my data is stored and retreived without any problem with
>method set and getAsciiStream()... until there is a byte with value "-1"
>in my Stream.  If the 43rd byte is "-1", the stream has a length of 42.

Can you post a small program that reproduces the problem?

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

pgsql-jdbc by date

Next:From: Dave CramerDate: 2001-08-31 18:12:01
Subject: Re: Read transactions don't work on 7.0.x db's Disregard my other patch
Previous:From: Barry LindDate: 2001-08-31 17:14:57
Subject: Re: Read transactions don't work on 7.0.x db's

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group