pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgreSQL.org>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Counting updates with libpq
Date: Sat, 6 Mar 1999 13:54:32 +0100
Message-ID: <19990306135432.A1858@gmx.net> (raw)
In-Reply-To: <3024.920673406@sss.pgh.pa.us>
References: <36E0005F.F7A92EF0@it.pl>
	<3024.920673406@sss.pgh.pa.us>

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!



view thread (7+ messages)  latest in thread

Message-ID: <19990306135432.A1858@gmx.net>
Permalink:  ../19990306135432.A1858@gmx.net/
Also on:    postgresql.org/message-id/19990306135432.A1858@gmx.net

 · 

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: pgsql-interfaces@postgresql.org
  Cc: meskes@postgreSQL.org
  Subject: Re: [INTERFACES] Counting updates with libpq
  In-Reply-To: <19990306135432.A1858@gmx.net>

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

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