Re: libpq usage from C++

Ron Johnson <ronljohnsonjr@gmail.com>

From: Ron Johnson <ronljohnsonjr@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-03-14T04:47:00Z
Lists: pgsql-general
On Sat, Mar 14, 2026 at 12:41 AM Igor Korot <ikorot01@gmail.com> wrote:

> 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"?
>

Maybe use an existing libpq wrapper for c++?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!