Is there a way to check if a db connection handle is still valid? - Mailing list pgsql-general

From Antai Ning
Subject Is there a way to check if a db connection handle is still valid?
Date
Msg-id F72CDFC92CAA204A9BE73476EED3821D015E62@JETMAIL
Whole thread Raw
Responses Re: Is there a way to check if a db connection handle is still valid?
List pgsql-general
<p><font size="2">Hi there,</font><p><font size="2">Is there a way to check if a db connection handle is still
availble?My db program need to run forever and I found that if one insertion fails, the handle seems crashed. Then when
thenext insertion using the same handle will kill the whole program.</font><p><font size="2">Thanks in
advance!</font><p><fontsize="2">Andy </font> 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: horrendous query challenge :-)
Next
From: Thomas Quinot
Date:
Subject: Re: Is there a way to check if a db connection handle is still valid?