patch for close connection bug

From: Thomas O'Dowd <tom(at)nooper(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: patch for close connection bug
Date: 2002-08-31 02:23:28
Message-ID: 1030760608.2776.114.camel@beast.uwillsee.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nooper(dot)com - Testing - http://nooper.co.jp/labs

Attachment Content-Type Size
patch.txt text/x-patch 974 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2002-08-31 05:26:07 Re: ant version.
Previous Message Thomas O'Dowd 2002-08-31 01:11:07 ant version.