Re: accessing postgres from c++
От | Dominique Devienne |
---|---|
Тема | Re: accessing postgres from c++ |
Дата | |
Msg-id | CAFCRh-8sk3WG_no-_P6wszPDjXd7GYUtcfiY+yrPYo8_MA+rSg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: accessing postgres from c++ (Laurenz Albe <laurenz.albe@cybertec.at>) |
Ответы |
Re: accessing postgres from c++
|
Список | pgsql-general |
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.
В списке pgsql-general по дате отправления: