The useful, now-or-virtually-never changes for 8.0 just keep coming. Here's another release candidate that you may want to try.
Changes from release candidate 3:
- No longer trying to support
std::filesystem. composite_into_buf()now returns azview.- Optionally pass
encoding_groupintoparams(or connection or transaction). - Export helper to render a
std::source_locationas text. - More IDE-friendly text format for source locations.
- Enable tests to run even on ASCII databases (just skip some encoding tests).
- Document:
result::affected_rows()also works forSELECT. (#1139) - Use C++26 reflection, if available, to figure out types' names.
- Rename
pqxx::out_of_memorytopqxx::server_out_of_memoryfor clarity. pqxx::protocol_violationis now ansql_error, not abroken_connection.- All libpqxx exceptions now derive from
pqxx::failure. pqxx::failurenow derives straight fromstd::exception, notstd::runtime_error.- Exceptions now know their name, whether they break the connection, etc.
- All additional properties on libpqxx exceptions are available in
pqxx::failure. - Require PostgreSQL 11 server or better.