On Wed, June 13, 2007 02:09, Gary Jefferson wrote: > there doesn't seem to be a 'reconnect()' in > pqxx::connection_base. What is the best way to > explicitly force connections to reconnect (as in the > case where the db has failed over to a slave, and dns > has been updated to make the slave the new master)?
Just call deactivate() and optionally follow with activate(). Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
