Fix connection leak in DROP SUBSCRIPTION command.

Fujii Masao <fujii@postgresql.org>

Commit: 898a792eb8283e31efc0b6fcbc03bbcd5f7df667
Author: Fujii Masao <fujii@postgresql.org>
Date: 2017-02-21T18:36:02Z
Releases: 10.0
Fix connection leak in DROP SUBSCRIPTION command.

Previously the command forgot to close the connection to the publisher
when it failed to drop the replication slot.

Files

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