Re: Detecting backend failures via libpq / DBD::Pg - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Detecting backend failures via libpq / DBD::Pg
Date
Msg-id 87a926djof.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Detecting backend failures via libpq / DBD::Pg  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: Detecting backend failures via libpq / DBD::Pg
List pgsql-hackers
>>>>> "Greg" == Greg Sabino Mullane <greg@turnstep.com> writes:
Greg> I am working on enhancing the ping() method of DBD::Pg. TheGreg> goal of that is for a user to be able to
determineif theGreg> connection to the database is still valid. The basic way we doGreg> this is to send a simple
SELECTvia PQexec
 

Why not PQexec(conn, "") ?

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Additional role attributes && superuser review
Next
From: Stephen Frost
Date:
Subject: Re: Additional role attributes && superuser review