pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kgeis@speakeasy.net
To: pgsql-jdbc@postgresql.org
Cc: Oliver Jowett <oliver@opencloud.com>
Subject: Re: patch: ResultSetTest.java
Date: Tue, 25 Oct 2005 15:06:47 +0000
Message-ID: <W5244729942143241130252807@webmail2> (raw)

> Oliver Jowett write:
> kgeis@speakeasy.net wrote:
> > Here are a couple of problems I ran across in ResultSetTest.
> 
> Uh, what are the failures you see?

Uh, doesn't it matter that the tests are wrong?  :)

It may help to explain that these issues are coming up as I implement binary data transfer in the JDBC driver.  It's been two years since it's been available as a feature in the database and I couldn't wait for the feature to show up in the JDBC driver.  The team may not like my implementation, but the world needs to know what it's missing (I got 100% speedup in a silly little benchmark.)

Anyway, here are the failures:

  [junit] Testcase: testMaxFieldSize(org.postgresql.test.jdbc2.ResultSetTest):
      FAILED
  [junit] expected:<12345> but was:<  09>
  [junit] junit.framework.ComparisonFailure: expected:<12345> but was:<  09>


  [junit] Testcase: testRowResultPositioning(org.postgresql.test.jdbc2.ResultS
etTest):        Caused an ERROR
  [junit] ERROR: no binary output function available for type aclitem
  [junit]   Location: File: arrayfuncs.c, Routine: array_send, Line: 1384
  [junit]   Server SQLState: 42883






view thread (11+ messages)  latest in thread

Message-ID: <W5244729942143241130252807@webmail2>
Permalink:  ../W5244729942143241130252807@webmail2/
Also on:    postgresql.org/message-id/W5244729942143241130252807@webmail2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: kgeis@speakeasy.net, oliver@opencloud.com
  Subject: Re: patch: ResultSetTest.java
  In-Reply-To: <W5244729942143241130252807@webmail2>
  References: <W5244729942143241130252807@webmail2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox