Leandro Lucarella <llucarella(at)integratech(dot)com(dot)ar> writes:> libpq seems to reconnect the socket when the connection is lost.
libpq does no such thing. Better recheck your own code (lookfor calls of PQreset(), perhaps).
regards, tom lane