On Wed, August 9, 2006 03:45, Adam Pigg wrote:

> any change of adding information such as
> PQprotocolVersion
> PQserverVersion
> to pqxx::connection?

I guess so...  If there's anything specific you need to know about what
the current connection can do for you, the capabilities system should
provide that--but I see no particular harm in making the information
available.

Just remember that by default, connections may break and be transparently
restored in some cases.  If the server has been upgraded in the meantime,
for example, the answers may change a bit when that happens.  And, of
course, if your libpq doesn't support the functions, you'll get somewhat
pessimistic answers.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to