Only use pqxx::pqxx_exception with libpqxx 3.0 and later