Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 09DCF1337B5E for ; Mon, 24 Jan 2011 14:48:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 87573-01 for ; Mon, 24 Jan 2011 18:48:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ht2-outbound.cloudmark.com (ht2-outbound.cloudmark.com [72.5.239.36]) by mail.postgresql.org (Postfix) with ESMTP id 97C71133655C for ; Mon, 24 Jan 2011 14:48:27 -0400 (AST) Received: from EXCH-C2.corp.cloudmark.com ([172.22.1.74]) by spite.corp.cloudmark.com ([172.22.10.72]) with mapi; Mon, 24 Jan 2011 10:48:26 -0800 From: "Murray S. Kucherawy" To: Kevin Grittner , Tom Lane CC: Robert Haas , "pgsql-bugs@postgresql.org" Date: Mon, 24 Jan 2011 10:48:25 -0800 Subject: Re: BUG #5837: PQstatus() fails to report lost connection Thread-Topic: [BUGS] BUG #5837: PQstatus() fails to report lost connection Thread-Index: Acu79yRMZZ64558+T9e/UqgG6JeHzwAABlFg Message-ID: References: <201101140136.p0E1aTFb017852@wwwmaster.postgresql.org> <1950.1295754244@sss.pgh.pa.us> <6493.1295882981@sss.pgh.pa.us> <4D3D67600200002500039B2C@gw.wicourts.gov> <4D3D74D60200002500039B3C@gw.wicourts.gov> In-Reply-To: <4D3D74D60200002500039B3C@gw.wicourts.gov> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/174 X-Sequence-Number: 29196 > -----Original Message----- > From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov] > Sent: Monday, January 24, 2011 10:47 AM > To: Murray S. Kucherawy; Tom Lane > Cc: Robert Haas; pgsql-bugs@postgresql.org > Subject: RE: [BUGS] BUG #5837: PQstatus() fails to report lost connection >=20 > A patch based on this suggestion attached for consideration by the > community. That would work for me, thanks. -MSK