[Fwd: Re: Problems with truncated BLOB]

From: Barry Lind <barry(at)xythos(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [Fwd: Re: Problems with truncated BLOB]
Date: 2001-11-26 17:52:17
Message-ID: 3C028151.8020301@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Forwarding to the jdbc list in case someone else has time to look into
this bug before I get around to it.

thanks,
--Barry

-------- Original Message --------
Subject: Re: [JDBC] Problems with truncated BLOB
Date: 26 Nov 2001 17:37:05 +0100
From: Mihael Vrbanec <miqster(at)gmx(dot)net>
To: Barry Lind <barry(at)xythos(dot)com>
References: <1006737949(dot)367(dot)2(dot)camel(at)Caprice> <3C01A2AA(dot)2030902(at)xythos(dot)com>

Hi Barry,

> Could you send a test case that demonstrates the problem? Ideally a
> sample java program that will upload one of the problem files, and then
> another program that tries to download the file showing the problem you
> have having.

I have attached a sample program that does both. It uses a table called
blobs with two columns (filename, data). I experience the problem with
all binary files I have tried (.doc, .png, .bmp, .tar.gz).
HTML, and .txt do not have these problems.

> Also, which version of the jdbc driver are you using? (the version that
> came with 7.1, or something newer)

The jdbc-driver is the one shipped with 7.1.2/3 (i compiled the whole
thing from source).

many thanx in advance

bxe Miq

--
** Mihael Vrbanec --- Uni Karlsruhe **
*** eMail: miqster(at)gmx(dot)net ***
** Homepage: miqster.homeip.net/~miq/ **

Attachment Content-Type Size
BlobTest.java text/x-java 3.0 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nate Gelbard 2001-11-26 18:00:32 JDBC bug?
Previous Message Barry Lind 2001-11-26 17:48:45 Re: CallableStatements