Re: Testcase for bytea datatype
От | Dirk Bromberg |
---|---|
Тема | Re: Testcase for bytea datatype |
Дата | |
Msg-id | 001f01c2e288$da68dc10$24ddfea9@xbserv обсуждение исходный текст |
Ответ на | Testcase for bytea datatype (Anders Hermansen <anders@yoyo.no>) |
Ответы |
Re: Testcase for bytea datatype
Re: Testcase for bytea datatype |
Список | pgsql-jdbc |
I've insert the code to mine and if i take an image the test is not ok. the byte[] are different. Don't use plain text to test!! greets Dirk Bromberg >-----Ursprüngliche Nachricht----- >Von: pgsql-jdbc-owner@postgresql.org >[mailto:pgsql-jdbc-owner@postgresql.org] Im Auftrag von Anders >Hermansen >Gesendet: Sonntag, 2. März 2003 19:08 >An: pgsql-jdbc@postgresql.org >Betreff: [JDBC] Testcase for bytea datatype > > >* 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 >
В списке pgsql-jdbc по дате отправления: