| От | Tom Lane |
|---|---|
| Тема | Re: cmin increments by 2 except in 7.4? |
| Дата | |
| Msg-id | 10942.1107240835@sss.pgh.pa.us обсуждение |
| Ответ на | cmin increments by 2 except in 7.4? (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: cmin increments by 2 except in 7.4?
|
| Список | pgsql-general |
Michael Fuhr <mike@fuhr.org> writes:
> I've noticed that in PostgreSQL 7.4, successive commands in a
> transaction get cmin values that increment by 1, but in other
> versions cmin increments by 2. Example:
Not sure about pre-7.4, but 8.0 is doing this because of a faulty
translation of list-munging stuff. PortalRunMulti contains
/*
* Increment command counter between queries, but not after the
* last one.
*/
if (planlist_item != NULL)
CommandCounterIncrement();
but planlist_item will *never* be NULL here. Should be testing
lnext(planlist_item), I think. Neil?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера