Getting number of tuples affected - Mailing list pgsql-hackers

From Michael Richards
Subject Getting number of tuples affected
Date
Msg-id Pine.BSF.4.10.9906300155360.12242-100000@scifair.acadiau.ca
Whole thread Raw
Responses Re: [HACKERS] Getting number of tuples affected
List pgsql-hackers
I was looking for a function to return the number of tuples an update
returned, but couldn't find anything for libpq++. Any ideas?

I also noticed a bug in the docs worth mentioning...
http://postgresql.nextpath.com/doxlist.html
       PgDatabase data;       data.exec("create table foo (a int4, b char16, d float8)");       data.exec("copy foo
fromstdin");       data.putline("3\etHello World\et4.5\en");       data.putline("4\etGoodbye World\et7.11\en");
&...      data.putline(".\en");       data.endcopy();
 

There is no PgDatabase::exec


thanks
-Michael



pgsql-hackers by date:

Previous
From: Michael Richards
Date:
Subject: Re: [HACKERS] Hot Backup Ability
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Perl library (was Building Postgres)