Re: [PATCHES] Patches to get number of tuples affected

Поиск
Список
Период
Сортировка
От Michael Richards
Тема Re: [PATCHES] Patches to get number of tuples affected
Дата
Msg-id Pine.BSF.4.10.9906301534400.12242-100000@scifair.acadiau.ca
обсуждение исходный текст
Ответ на Re: [PATCHES] Patches to get number of tuples affected  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Ответы Re: [PATCHES] Patches to get number of tuples affected  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Список pgsql-hackers
On Wed, 30 Jun 1999, D'Arcy J.M. Cain wrote:

> Thus spake Michael Richards
> > Here are some diffs that implement a function called TuplesAffected. It
> > returns the number of tuples the last command affected, or 0 if the last
> > command was a SELECT. I added it to the PgConnection because it contains
> 
> Why not overload PGTuples() instead (assuming it doesn't already do this)?

Tuples returned tells you how many you can get using the getvalue series.
If you tried that with an update, it core dumps. I think the two are
really related, but fundamentally different.

-Michael



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "D'Arcy" "J.M." Cain
Дата:
Сообщение: Re: [PATCHES] Patches to get number of tuples affected
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: [PATCHES] Patches to get number of tuples affected