Testcase for bytea datatype

From: Anders Hermansen <anders(at)yoyo(dot)no>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Testcase for bytea datatype
Date: 2003-03-02 18:07:50
Message-ID: 20030302180750.GA24385@online.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

* Uwe Kubosch (donv(at)crusaders(dot)no) wrote:
> OK, tried it. buffer is 5527 bytes. The PGbytea.toBytes(buffer) call
> returned an array of size 5485. Original file size was 4342 bytes.

I don't know what it is that is wrong. But I have made a test case, to
test the database with bytea field. The test passes fine here. Although
the default testdata is build.xml the test passes here with binary data
too.

JDBC maintainers: Can you add this test case to the distribution?

Anders

--
Anders Hermansen
YoYo Mobile as

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dirk Bromberg 2003-03-02 19:06:02 Connection Pool
Previous Message Achilleus Mantzios 2003-03-02 16:06:40 Mac OSX