Re: [HACKERS] Getting number of tuples affected

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема Re: [HACKERS] Getting number of tuples affected
Дата
Msg-id Pine.BSF.4.05.9906300624030.3972-100000@paprika.michvhf.com
обсуждение исходный текст
Ответ на Getting number of tuples affected  (Michael Richards <miker@scifair.acadiau.ca>)
Ответы Re: [HACKERS] Getting number of tuples affected  (Michael Richards <miker@scifair.acadiau.ca>)
Список 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 по дате отправления:

Предыдущее
От: "Hub.Org News Admin"
Дата:
Сообщение: ...
Следующее
От: Duane Currie
Дата:
Сообщение: Re: [HACKERS] Hot Backup Ability