Closed baerbock closed 5 years ago
It's not really an issue until Ubuntu has the new version though.
For the fun of it, I ran the compilation step in a Docker container. Quite a bit of breakage in some parts of the code with 6.2.5:
Need to fix types in method signatures:
using pqxx_tuple = pqxx::result::reference; using pqxx_field = pqxx::field;
Fix in https://github.com/mmd-osm/openstreetmap-cgimap/commit/d0a2e1895fe8cd68670a301bd1c592d362a84eae - successfully tested on Ubuntu 18.10 which comes with libpqxx 6.2.5.
It'll still have compatibility with 4, right?
Right, the idea was to have compatibility with both 4.x and 6.x without introducing conditional #define stuff. Hopefully, the current definition is more stable over time.
Travis CI is still using Ubuntu 18.04, i.e. we would immediately see some failing builds in case the code is no longer compatible with 4.
The current version of https://github.com/jtv/libpqxx is 6.2.5 There have breaking API changes since libpqxx4