Re: BUG #14208: Inconsistent code modification - 3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14208: Inconsistent code modification - 3
Дата
Msg-id 8651.1467305511@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #14208: Inconsistent code modification - 3  (Andres Freund <andres@anarazel.de>)
Ответы Re: BUG #14208: Inconsistent code modification - 3  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> On 2016-06-30 12:40:19 -0400, Tom Lane wrote:
>> Whether or not the toplevel transaction is empty, by the time we get here
>> it would have nentries == nentries_mem, no?

> Not, if the top-level transaction spilled to disk.

But doesn't the code stanza just above this loop pull that spillage back in?
It's certainly doing *something* to txn->nentries_mem.

            regards, tom lane

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #14208: Inconsistent code modification - 3
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #14208: Inconsistent code modification - 3