Matthew Hagerty writes: > I am trying to re-establish a connection, however, I cannot afford to issue > a query to determine if the connection still exists.
But requesting that the server do something *is* the only way to know whether it's still alive. Another question to ask, of course, would be, why is your server always going down? > I've been digging into the libpq code to see what is going on, maybe I can > gleam a little hint or two there... Anyone know a good *fast* way to test > if a socket is still valid? Try to send or receive something. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly