[Libpqxx-general] Lazy Connection

Mark Gabriel Paylaga mpaylaga at gmail.com
Wed Oct 28 04:35:53 UTC 2009


Hi,
Just some quick questions.
If I use a Lazy Connection, it only connects to the DB when i do a new
transaction right (like do some select etc..)?
If that transaction is done, would it disconnect from the DB and then
reconnect again when another transaction is started?
If so, does connecting and reconnecting to the database incur a big
overhead?

Thanks and best regards,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/libpqxx-general/attachments/20091028/2ec00256/attachment.html>


More information about the Libpqxx-general mailing list