pgsql: Move the replication lag tracker into heap memory. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Move the replication lag tracker into heap memory.
Date
Msg-id E1gCB4G-0003qi-WC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Move the replication lag tracker into heap memory.

Andres Freund complained about the 128KB of .bss occupied by LagTracker.
It's only needed in the walsender process, so allocate it in heap
memory there.

Author: Thomas Munro
Discussion: https://postgr.es/m/20181015200754.7y7zfuzsoux2c4ya%40alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e73ca79fc78db4eb13b7f513f16b7164c7b05ba7

Modified Files
--------------
src/backend/replication/walsender.c | 56 +++++++++++++++++++------------------
1 file changed, 29 insertions(+), 27 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Stamp 11.0.
Next
From: Andres Freund
Date:
Subject: pgsql: Move TupleTableSlots boolean member into one flag variable.