Re: [HACKERS] Getting number of tuples affected

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Michael Richards <miker(at)scifair(dot)acadiau(dot)ca>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Getting number of tuples affected
Date: 1999-06-30 10:27:30
Message-ID: Pine.BSF.4.05.9906300624030.3972-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)michvhf(dot)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
==========================================================================

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-06-30 12:40:42 Vaccum (Was: Re: [HACKERS] Hot Backup Ability)
Previous Message Hub.Org News Admin 1999-06-30 09:34:21