| От | D'Arcy" "J.M." Cain |
|---|---|
| Тема | Re: [PATCHES] Patches to get number of tuples affected |
| Дата | |
| Msg-id | m10zPuc-0000dEC@druid.net обсуждение исходный текст |
| Ответ на | Re: [PATCHES] Patches to get number of tuples affected (Michael Richards <miker@scifair.acadiau.ca>) |
| Список | pgsql-hackers |
Thus spake Michael Richards
> > Why not overload PGTuples() instead (assuming it doesn't already do this)?
As mentioned in another posting, I meant PQntuples().
> 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.
I'm just thinking that it's easy for PQntuples() to tell what it has
to return and branch accordingly. It just makes it easier to remember
the function. No asking which get tuple count function works for update
and which for select.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера