libpq usage from C++

Igor Korot <ikorot01@gmail.com>

From: Igor Korot <ikorot01@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-03-14T04:40:48Z
Lists: pgsql-general
Hi, ALL,

Does anybody use libpq from C++?

C++ introduces STL.
C++ introduces smart-pointers.

Is there a simple way of using those writing libpq communication?

Or should I just forget about them and use good old "dump pointers"?

Thank you.