Re: Detecting backend failures via libpq / DBD::Pg

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Detecting backend failures via libpq / DBD::Pg
Дата
Msg-id 87a926djof.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Detecting backend failures via libpq / DBD::Pg  ("Greg Sabino Mullane" <greg@turnstep.com>)
Ответы Re: Detecting backend failures via libpq / DBD::Pg  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список 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 по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Additional role attributes && superuser review
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Additional role attributes && superuser review