pgsql: Move the replication lag tracker into heap memory.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Move the replication lag tracker into heap memory.
Дата
Msg-id E1gCB4G-0003qi-WC@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 11.0.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Move TupleTableSlots boolean member into one flag variable.