Getting number of tuples affected

From: Michael Richards <miker(at)scifair(dot)acadiau(dot)ca>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Getting number of tuples affected
Date: 1999-06-30 04:57:55
Message-ID: Pine.BSF.4.10.9906300155360.12242-100000@scifair.acadiau.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 from stdin");
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-06-30 04:59:05 Re: [HACKERS] Perl library (was Building Postgres)
Previous Message Edmund Mergl 1999-06-30 04:56:20 Re: Perl library (was Building Postgres)