Re: [PATCH] Provide rowcount for utility SELECTs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Provide rowcount for utility SELECTs
Дата
Msg-id 1262016844.10841.1.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] Provide rowcount for utility SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Provide rowcount for utility SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On mån, 2009-12-28 at 11:08 -0500, Tom Lane wrote:
> Boszormenyi Zoltan <zb@cybertec.at> writes:
> > Hans-Juergen Schoenig írta:
> >> just as a background info: this will have some positive side effects
> >> on embedded C programs which should be portable.
> 
> > Not just embedded C programs, every driver that's
> > based on libpq and used PQcmdTuples() will
> > automatically see the benefit.
> 
> And, by the same token, the scope for possibly breaking clients is nearly
> unlimited ...

Why is that?  Are there programs out there that expect PQcmdTuples() to
return something that is *not* the tuple count for these commands and
will violently misbehave otherwise?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Provide rowcount for utility SELECTs
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: updateMinRecoveryPoint bug?