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.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services