Be sure to release LogicalRepLauncherLock in DROP SUBSCRIPTION command.

Fujii Masao <fujii@postgresql.org>

Commit: 39b8cc991fe31ee8df8b0fee467bbd9800fcc1c5
Author: Fujii Masao <fujii@postgresql.org>
Date: 2017-02-03T18:18:13Z
Releases: 10.0
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

Files

PathChange+/−
src/backend/commands/subscriptioncmds.c modified +2 −0