Fix crash in pg_replication_slot_advance

We were trying to use a LSN variable after releasing its containing slot
structure.

Reported by: tushar
Author: amul sul
Reviewed-by: Petr Jelinek, Masahiko Sawada
Discussion: 
https://postgr.es/m/94ba999c-f76a-0423-6523-b8d531dfe...@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f1d723b6359507ef55a81617167507bc25e3e2b

Modified Files
--------------
src/backend/replication/slotfuncs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Reply via email to