Fix use-after-free issue in slot synchronization.

Author: Shlok Kyal <shlok.kyal....@gmail.com>
Reviewed-by: Daniel Gustafsson <dan...@yesql.se>
Reviewed-by: Amit Kapila <amit.kapil...@gmail.com>
Backpatch-through: 18, where it was introduced
Discussion: 
https://postgr.es/m/canhcyexmrcedzj-rngjam0njhm4y+ttdwsgucfmxcim7bnk...@mail.gmail.com

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8df3d355db0fcb56535644c5ea2f4ae6f7dfacdf

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