patch for close connection bug - Mailing list pgsql-jdbc

From Thomas O'Dowd
Subject patch for close connection bug
Date
Msg-id 1030760608.2776.114.camel@beast.uwillsee.com
Whole thread Raw
Responses Re: patch for close connection bug  (Dave Cramer <Dave@micro-automation.net>)
List pgsql-jdbc
Hi all,

I noticed that if you shutdown the postmaster while you are connected to
it, if you try to close the connection (it throws an exception which is
expected) but if you call isClosed() on the connection afterwards it
still appears to be open as pg_stream is never set to null. The
following small patch fixes that.

Would be nice to have it in for beta of 7.3.

Cheers,

Tom.
--
Thomas O'Dowd. - Nooping - http://nooper.com
tom@nooper.com - Testing - http://nooper.co.jp/labs

Attachment

pgsql-jdbc by date:

Previous
From: Thomas O'Dowd
Date:
Subject: ant version.
Next
From: Bruce Momjian
Date:
Subject: Re: ant version.