Michael Kichanov <mike@nordlink.ru> wrote:
>
> thanx, but now I doing just this thing :)
> and I would need something like PQping() ;)
>
> mike
>
In our listen/notify cache i just collect the socket and select() on it.
When it returns we do a PQconsumeInput(conn); i think that catches a
backend being killed for example.
Magnus
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-