Re: Number of updated rows with LibPQ

From: Dominique Devienne <ddevienne(at)gmail(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Number of updated rows with LibPQ
Date: 2022-10-14 15:05:50
Message-ID: CAFCRh-8qMLPSsR8t2N0U5M4gdbUTnn1Na3rZq34OiXdnajX5sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 14, 2022 at 4:39 PM Daniel Verite <daniel(at)manitou-mail(dot)org> wrote:
> Or a SELECT, or an UPDATE RETURNING, or a DELETE RETURNING.
> The code still need to look at PQcmdStatus() to learn which kind it is,

Thanks Daniel. This is exactly what I needed. --DD

PS: Now I wonder whether PQcmdTuples() points to the same buffer as
PQcmdStatus(), except with an offset...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2022-10-14 20:59:52 Re: How to return argument data type from sql function
Previous Message Dominique Devienne 2022-10-14 14:59:35 Re: [libpq] OIDs of extension types? Of custom types?