[COMMITTERS] pgsql: Reorganize logical replication worker disconnect code - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Reorganize logical replication worker disconnect code
Date
Msg-id E1dGd51-0005aP-N9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Reorganize logical replication worker disconnect code

Move the walrcv_disconnect() calls into the before_shmem_exit handler.
This makes sure the call is always made even during exit by signal, it
saves some duplicate code, and it makes the logic more similar to
walreceiver.c.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6812330f1cc95f258ffe4ce7d56bdd56efbd9fde

Modified Files
--------------
src/backend/replication/logical/launcher.c  | 6 ++++++
src/backend/replication/logical/tablesync.c | 1 -
src/backend/replication/logical/worker.c    | 8 --------
3 files changed, 6 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: psql: Fix display of whether table is part of publication
Next
From: Magnus Hagander
Date:
Subject: [COMMITTERS] pgsql: Fix typo in comment