diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-05-09 14:40:42 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-05-09 14:51:49 -0400 |
commit | 489b96e80b96c0eda02575347654e87968f2f5f4 (patch) | |
tree | 870433737c38221ed5676574780c2cde64342a35 /src/backend/commands/trigger.c | |
parent | e0bf16060be695ced920727fa29f0d9ede61bd3f (diff) | |
download | postgresql-489b96e80b96c0eda02575347654e87968f2f5f4.tar.gz postgresql-489b96e80b96c0eda02575347654e87968f2f5f4.zip |
Improve memory use in logical replication apply
Previously, the memory used by the logical replication apply worker for
processing messages would never be freed, so that could end up using a
lot of memory. To improve that, change the existing ApplyContext memory
context to ApplyMessageContext and reset that after every
message (similar to MessageContext used elsewhere). For consistency of
naming, rename the ApplyCacheContext to ApplyContext.
Author: Stas Kelvich <s.kelvich@postgrespro.ru>
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions