]> granicus.if.org Git - postgresql/commit
Move the replication lag tracker into heap memory.
authorThomas Munro <tmunro@postgresql.org>
Mon, 15 Oct 2018 22:04:41 +0000 (11:04 +1300)
committerThomas Munro <tmunro@postgresql.org>
Mon, 15 Oct 2018 22:04:41 +0000 (11:04 +1300)
commite73ca79fc78db4eb13b7f513f16b7164c7b05ba7
tree8d9e17a985ddf874f8abfb127d82ab3790aaf213
parentd48da369ab22a8326d4d3d2b05b574d581057193
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
src/backend/replication/walsender.c