Re: Patch for some bugs/annoyances

From: Kris Jurka <books(at)ejurka(dot)com>
To: Patrick Higgins <phiggins(at)transzap(dot)com>
Cc: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Patch for some bugs/annoyances
Date: 2003-12-11 21:32:06
Message-ID: Pine.LNX.4.33.0312111627520.16693-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 11 Dec 2003, Patrick Higgins wrote:

> This first bug may have been causing the second; I can't remember
> anymore. Anyway, sometimes this.state in PSQLException is null causing
> getSQLState() to throw a NullPointerException. I've included a check for
> this and return the string "null" when the state is null.
>

I don't think returning "null" is correct. I think
PSQLState.UNKNOWN_STATE should be used as the state when it is null.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2003-12-11 22:31:01 Re: BUG #1005: JDBC cancelRowUpdates() sets column values to
Previous Message Patrick Higgins 2003-12-11 20:17:03 Patch for some bugs/annoyances