Fix use-after-free issue in slot synchronization.

Author: Shlok Kyal <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Backpatch-through: 18, where it was introduced
Discussion: 
https://postgr.es/m/canhcyexmrcedzj-rngjam0njhm4y+ttdwsgucfmxcim7bnk...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f2dbc83501d441a98f7799863e1b6f18af8e8fbe

Modified Files
--------------
src/backend/replication/logical/slotsync.c | 3 ++-
src/backend/replication/slotfuncs.c        | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

Reply via email to