public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: libpq usage from C++
Date: Sat, 14 Mar 2026 00:47:00 -0400
Message-ID: <CANzqJaD3UQF_1TywV92gvTTc+viqcwNpsk-twbvKhsn9RncMhQ@mail.gmail.com> (raw)
In-Reply-To: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@mail.gmail.com>
References: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@mail.gmail.com>

On Sat, Mar 14, 2026 at 12:41 AM Igor Korot <[email protected]> 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!


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]
  Subject: Re: libpq usage from C++
  In-Reply-To: <CANzqJaD3UQF_1TywV92gvTTc+viqcwNpsk-twbvKhsn9RncMhQ@mail.gmail.com>

* 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