public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: libpq usage from C++
Date: Fri, 13 Mar 2026 21:51:29 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@mail.gmail.com>
References: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@mail.gmail.com>

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
[email protected]






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: libpq usage from C++
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox