On Tue, Jun 21, 2022 at 7:59 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> I am surprised that you choose to be fettered by the constraints of a generic API like ODBC.
> For me, that only makes sense if you want to be portable to different databases.
Ditto.
> I would use ... C API of libpq, or, .. C++ boilerplate around it, use libpqxx.
There's also this modern C++ libpq wrapper, announced on this list
earlier this year:
https://github.com/dmitigr/pgfe
PS: Haven't used it. but followed it's development (to inform my own
non-OSS C++ wrapper dev), and it looked solid from a distance.
PPS: I think we tried libpqxx in the past, and I kinda remember it
forced you into non-binary mode, which was a non-started for
performance.