On Wed, November 29, 2006 23:56, Leandro Lucarella wrote: > Is there any automatic reconnection code in pqxx or libpq? If so, is > there any way to avoid it? If not, is there any way to tell then to > excecute some arbitrary code on the socket any time is opened (to tune > my keep-alive parameters)?
Yes, libpqxx reconnects automatically when needed. If that's not what you want, use the connection's inhibit_reactivation() function. Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
