Re: BUG #14208: Inconsistent code modification - 3 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14208: Inconsistent code modification - 3
Date
Msg-id 8651.1467305511@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #14208: Inconsistent code modification - 3  (Andres Freund <andres@anarazel.de>)
Responses Re: BUG #14208: Inconsistent code modification - 3  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #14208: Inconsistent code modification - 3
Next
From: Andres Freund
Date:
Subject: Re: BUG #14208: Inconsistent code modification - 3