pgsql: Fix connection leak in DROP SUBSCRIPTION command.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix connection leak in DROP SUBSCRIPTION command.
Date: 2017-02-21 18:36:35
Message-ID: E1cgFIh-0007XH-Js@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/898a792eb8283e31efc0b6fcbc03bbcd5f7df667

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2017-02-21 18:43:52 pgsql: Fix typo in comment.
Previous Message Fujii Masao 2017-02-21 18:15:30 pgsql: Make walsender always initialize the buffers.