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/[email protected]
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(-)