1. 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
  2. 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
  3. Jul 10, 2021
  4. Jul 09, 2021
  5. Jan 28, 2021
  6. May 04, 2018
  7. May 03, 2018
  8. Apr 26, 2018
  9. Apr 07, 2018
  10. Mar 29, 2018
  11. Feb 04, 2018
  12. Feb 03, 2018
  13. Oct 28, 2017