Testcase for bytea datatype - Mailing list pgsql-jdbc

From Anders Hermansen
Subject Testcase for bytea datatype
Date
Msg-id 20030302180750.GA24385@online.no
Whole thread Raw
In response to Re: binary data  ("Uwe Kubosch" <donv@crusaders.no>)
Responses Re: Testcase for bytea datatype
List pgsql-jdbc
* Uwe Kubosch (donv@crusaders.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

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql
Next
From: "Dirk Bromberg"
Date:
Subject: Connection Pool