Re: libpq usage from C++

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: libpq usage from C++
Date: 2026-03-14 04:51:29
Message-ID: ab2fedd8-759e-4021-974c-46178a7e318f@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/13/26 9:40 PM, Igor Korot wrote:
> Hi, ALL,
>
> Does anybody use libpq from C++?

Search engine of choice:

libpq c++

yields:

https://pqxx.org/development/libpqxx/

>
> 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.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2026-03-14 07:09:04 Does included columns part of the PK
Previous Message Ron Johnson 2026-03-14 04:47:00 Re: libpq usage from C++