> On 9 May 2017, at 21:53, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
>
> On 5/8/17 11:26, Peter Eisentraut wrote:
>> I think it would make more sense to reset ApplyMessageContext in
>> apply_dispatch(), so that it is done consistently after every message
>> (as the name implies), not only some messages.
>
> Committed that.
>
>> Also, perhaps ApplyMessageContext should be a child of
>> TopTransactionContext. (You have it as a child of ApplyContext, which
>> is under TopMemoryContext.)
>
> Left that as is.
Thanks!
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company