1. Jan 06, 2024
  2. Sep 15, 2023
  3. Sep 14, 2023
  4. Sep 21, 2022
  5. Jul 27, 2022
    • Thomas Berger's avatar
      Replaced std::multimap with std::map<key,std::vector<>> · 33024353
      Thomas Berger authored
      A callgrind analysis showed, that we spend much of our time inside the
      multimap functions. It seems that the multimap implementation provided
      by gcc requires memory allocations for equal_range and other lookups.
      
      This change results in a 120% performance increase on my system.
      33024353
  6. Mar 19, 2022
  7. Mar 03, 2022
  8. Jan 21, 2022
  9. Jan 19, 2022
  10. Jan 11, 2022
  11. Oct 06, 2021
  12. 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
  13. 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
  14. Jul 10, 2021
  15. Jul 09, 2021
  16. Jan 28, 2021
  17. May 13, 2020
  18. May 05, 2020
  19. May 05, 2018