public inbox for [email protected]  
help / color / mirror / Atom feed
From: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: libpq usage from C++
Date: Fri, 13 Mar 2026 23:40:48 -0500
Message-ID: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@mail.gmail.com> (raw)

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.






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: <CA+FnnTzfegG8E3JoB0P9cFMZLS2__+0ZtixyGHtxxmSXKk=o6A@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