Re: [INTERFACES] Counting updates with libpq - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: [INTERFACES] Counting updates with libpq
Date
Msg-id 19990306135432.A1858@gmx.net
Whole thread Raw
In response to Re: [INTERFACES] Counting updates with libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [INTERFACES] Counting updates with libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
row count  (Sergio <ser@perio.unlp.edu.ar>)
List pgsql-interfaces
On Fri, Mar 05, 1999 at 05:36:46PM -0500, Tom Lane wrote:
> Bartek Teodorczyk <barteo@it.pl> writes:
> > Is it possible to get number of updated records using the PQexec command
> > and processing the PQresult record?
>
> See PQcmdTuples() ...

For ecpg I've beed using PQntuples(). Is it the same function?

Michael
--
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!

pgsql-interfaces by date:

Previous
From: "Stan Brown"
Date:
Subject: How to use formsdemo.sql
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Counting updates with libpq