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

From Thomas Quinot
Subject Re: Is there a way to check if a db connection handle is still valid?
Date
Msg-id 20020530224036.A72216@melusine.cuivre.fr.eu.org
Whole thread Raw
In response to Is there a way to check if a db connection handle is still valid?  (Antai Ning <aning@jetnet.ca>)
List pgsql-general
You could probably try a query like 'SELECT 1;' and see if it succeeds.

Thomas.

--
    Thomas.Quinot@Cuivre.FR.EU.ORG

pgsql-general by date:

Previous
From: Antai Ning
Date:
Subject: Is there a way to check if a db connection handle is still valid?
Next
From: Laurette Cisneros
Date:
Subject: Re: timestamp