pgsql: Fix crash in pg_replication_slot_advance

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash in pg_replication_slot_advance
Date: 2018-02-20 01:26:41
Message-ID: E1enwhd-0006jg-JN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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-b8d531dfe4c7@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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-02-20 11:04:06 pgsql: Fix typo
Previous Message David G. Johnston 2018-02-19 22:16:48 Re: pgsql: Allow UNIQUE indexes on partitioned tables