1. Mar 19, 2022
  2. Mar 03, 2022
  3. Jan 21, 2022
  4. Jan 19, 2022
  5. Jan 11, 2022
  6. Oct 06, 2021
  7. Sep 24, 2021
    • Bernd Helmle's avatar
      Keep former calls to work::prepared(). · e1dfa715
      Bernd Helmle authored
      Looks like ancient versions of libpqxx (like the ones shipped on Ubuntu 18.04)
      don't have exec_prepared(). So test for libpqxx 7 and conditionally use work::prepared() if we find an older version.
      e1dfa715
    • Bernd Helmle's avatar
      Change handling of libpqxx classes to support version 7. · 420af084
      Bernd Helmle authored
      pqxx::connection::activate() and pqxx::connection::disconnect() are gone,
      the former doesn't have a corresponding substitute. Instead the caller is
      encouraged to watch out for broken_connection exception. Also the explicit
      activation of a PostgreSQL connection is no longer supported.
      
      work::prepared() is also no longer supported, so change this to
      work::exec_prepared(). There's no need to special case this for older libpqxx
      versions, since this method is already present there, too.
      
      This commit wraps those deprecated API calls into a ifdef to support
      builds with an older libpqxx version. We might get rid of this if we don't want
      to have support for those older ones.
      420af084
  8. Sep 22, 2021
    • Bernd Helmle's avatar
      Support libpqxx version 7.x. · 2dc83ee8
      Bernd Helmle authored
      libpqxx 7 requires C++17 and thus requires us to tell the compiler to use
      the right compiler flag. Teach autoconf to test for the proper switches
      depending on the libpqxx version found.
      
      This also defines a new macro HAVE_LIBPQXX7 in config.h, which will be
      used by the follow up commit to reflect recent API changes in libpqxx 7.
      2dc83ee8
  9. Jul 10, 2021
  10. Jul 09, 2021
  11. Jan 28, 2021
  12. May 13, 2020
  13. May 05, 2020
  14. May 05, 2018
  15. May 04, 2018