Skip to content

Update C++ libpqxx docs for libpqxx 8 and Ubuntu 26.04#179

Open
bandle wants to merge 1 commit into
masterfrom
bandle/pqxx
Open

Update C++ libpqxx docs for libpqxx 8 and Ubuntu 26.04#179
bandle wants to merge 1 commit into
masterfrom
bandle/pqxx

Conversation

@bandle

@bandle bandle commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • Warn that Ubuntu 26.04's libpqxx-dev (7.10) has a double-free, with instructions to build libpqxx 8.0.1 from source
  • Update compile command to c++23
  • Update insert API from exec_prepared to exec(pqxx::prepped{}, pqxx::params{})
  • Replace using namespace std with explicit std:: prefixes

- Warn that Ubuntu 26.04's libpqxx-dev (7.10) has a double-free, with instructions to build libpqxx 8.0.1 from source
- Update compile command to c++23
- Update insert API from exec_prepared to exec(pqxx::prepped{}, pqxx::params{})
- Replace `using namespace std` with explicit std:: prefixes
```

{{% callout type="warning" %}}
The `libpqxx-dev` package in Ubuntu 26.04 ships libpqxx 7.10, which [crashes on exit](https://github.com/jtv/libpqxx/issues/1195) due to a double-free in `pqxx::internal::demangle_type_name`. Build libpqxx 8 from source instead:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The `libpqxx-dev` package in Ubuntu 26.04 ships libpqxx 7.10, which [crashes on exit](https://github.com/jtv/libpqxx/issues/1195) due to a double-free in `pqxx::internal::demangle_type_name`. Build libpqxx 8 from source instead:
The `libpqxx-dev` package in Ubuntu 26.04 ships libpqxx 7.10, which [crashes on exit](https://github.com/jtv/libpqxx/issues/1195) due to a double-free in `pqxx::internal::demangle_type_name`. We recommend building libpqxx 8 from source instead:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants