Re: [HACKERS] Getting number of tuples affected - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: [HACKERS] Getting number of tuples affected
Date
Msg-id Pine.BSF.4.05.9906300624030.3972-100000@paprika.michvhf.com
Whole thread Raw
In response to Getting number of tuples affected  (Michael Richards <miker@scifair.acadiau.ca>)
Responses Re: [HACKERS] Getting number of tuples affected
List pgsql-hackers
On Wed, 30 Jun 1999, Michael Richards wrote:

> I was looking for a function to return the number of tuples an update
> returned, but couldn't find anything for libpq++. Any ideas?

Added to my list of stuff to do.  As to what else you can do, submit
patches? :)

> 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

Yep.  Guess that should be data.Exec(...

Thanks!
Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null      # include <std/disclaimers.h>
       TEAM-OS2       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================





pgsql-hackers by date:

Previous
From: "Hub.Org News Admin"
Date:
Subject: ...
Next
From: Duane Currie
Date:
Subject: Re: [HACKERS] Hot Backup Ability