libpqxx:generate-feature-checks

Last commit made on 2023-11-11
Get this branch:
git clone -b generate-feature-checks https://git.launchpad.net/libpqxx

Branch merges

Branch information

Name:
generate-feature-checks
Repository:
lp:libpqxx

Recent commits

a6e4a11... by Jeroen T. Vermeulen

Generate config checks based on feature test macros.

Uses the C++ feature test macros to generate configuration checks in
both autoconf and CMake.

7586846... by Jeroen Vermeulen <email address hidden>

Format. (#735)

9847c82... by Jeroen Vermeulen <email address hidden>

Permit conversion to string of `std::string_view`. (#730)

Fixes #728.

I've been reluctant to implement this because it could pose a larger
runtime cost than the caller might expect. We need to copy the whole
underlying string into the available buffer just to ensure termination.

But as the bug shows, users may need the conversion in order to pass
arrays of `string_view` as statement parameters.

1e02a1a... by Jeroen Vermeulen <email address hidden>

Tweaks to `PQfsize()` & `PQfmod()` support. (#731)

Some minor updates to the work done in #727:
* Check for errors coming from `PQfsize()`.
* Document that `PQfmod()` does not report errors.

e079dbb... by TeamPlatform1 <email address hidden>

Added 2 functions (column_size and column_mod) under pqxx::result file (#727)

Support `PQfsize()` and `PQfmod()`.

66774c1... by Jeroen Vermeulen <email address hidden>

Fix bad `zview` string conversion. (#729)

Fixes one part of #728: the `to_buf()` for `zview` was broken.

77e1e08... by Jeroen Vermeulen <email address hidden>

There is no `PQXX_HAVE_RANGES`. (#722)

Fixes #721.

bc7d3d1... by Jeroen T. Vermeulen

Update NEWS.

c655bc3... by Jeroen T. Vermeulen

Bump to 7.8.2.

21afb0d... by Jeroen T. Vermeulen

Update NEWS.