Release postmaster working memory context in slotsync worker Child processes do not need the postmaster's working memory context and normally release it at the start of their main entry point. However, the slotsync worker forgot to do so.
This commit makes the slotsync worker release the postmaster's working memory context at startup, preventing unintended use. Author: Fujii Masao <[email protected]> Reviewed-by: Andres Freund <[email protected]> Reviewed-by: Tom Lane <[email protected]> Reviewed-by: Tiancheng Ge <[email protected]> Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/cahgqgwho05jaupgkf8fbdmpdbujsk22axrrcgmauc2jyi8o...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/93dc1ace2007fe7c1103ccda3d7bc13b4eb4352f Modified Files -------------- src/backend/replication/logical/slotsync.c | 7 +++++++ 1 file changed, 7 insertions(+)
