Re: [HACKERS] Logical replication ApplyContext bloat - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Logical replication ApplyContext bloat
Date
Msg-id 875962fb-6bd2-408a-b6c7-a2f41bc18d54@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Logical replication ApplyContext bloat  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] Logical replication ApplyContext bloat  (Stas Kelvich <s.kelvich@postgrespro.ru>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] proposal psql \gdesc
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] snapbuild woes