pgsql: Be sure to release LogicalRepLauncherLock in DROP SUBSCRIPTION c

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Be sure to release LogicalRepLauncherLock in DROP SUBSCRIPTION c
Date: 2017-02-03 18:18:44
Message-ID: E1cZiRY-0000SO-3M@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Be sure to release LogicalRepLauncherLock in DROP SUBSCRIPTION command.

Previously DROP SUBSCRIPTION command forgot to release the lock at all.

Original patches by Kyotaro Horiguchi and Michael Paquier,
but I didn't use them.
Discussion: http://postgr.es/m/20170201.173623.66249355.horiguchi.kyotaro@lab.ntt.co.jp

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/39b8cc991fe31ee8df8b0fee467bbd9800fcc1c5

Modified Files
--------------
src/backend/commands/subscriptioncmds.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-02-03 19:42:19 pgsql: pgstattuple: Add pgstathashindex.
Previous Message Tom Lane 2017-02-03 17:04:48 Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.