Fix to driver to handle errors correctly

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>, <taras(at)dekasoft(dot)com(dot)au>
Subject: Fix to driver to handle errors correctly
Date: 2002-03-16 02:23:37
Message-ID: 006e01c1cc91$94aaf2c0$807ba8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Viacheslav Tararin found an error where the driver was not correctly
handling multiple errors on the same connection. I have modified
QueryExecuter so that it now will simply accumulate errors on the
backend until the protocol has finished, and then throw the exception.

I have updated the jar on the download site as well.

I have also done a little more work on the logging mechanism. You can
now specify the logLevel with

org.postgresql.Driver.setLogLevel(DEBUG,INFO,WARN,ERROR,FATAL)

I'm loath to start sprinking debugging messages around, since it will
only slow the driver down. But the mechanism is there

Cheers,

Dave

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Hans Deragon 2002-03-16 12:25:54 Re: NullPointer at ResultSet.java:113
Previous Message Dave Cramer 2002-03-15 16:14:37 Re: datetime