pgsql: Move the replication lag tracker into heap memory.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move the replication lag tracker into heap memory.
Date: 2018-10-15 22:10:28
Message-ID: E1gCB4G-0003qi-WC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-10-16 01:53:54 pgsql: Move TupleTableSlots boolean member into one flag variable.
Previous Message Tom Lane 2018-10-15 21:12:55 pgsql: Stamp 11.0.