pgsql: Rename the logical replication global "wrconn" - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Rename the logical replication global "wrconn"
Date
Msg-id E1lgy8J-0000Nn-Sk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename the logical replication global "wrconn"

The worker.c global wrconn is only meant to be used by logical apply/
tablesync workers, but there are other variables with the same name. To
reduce future confusion rename the global from "wrconn" to
"LogRepWorkerWalRcvConn".

While this is just cosmetic, it seems better to backpatch it all the way
back to 10 where this code appeared, to avoid future backpatching
issues.

Author: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/CAHut+Pu7Jv9L2BOEx_Z0UtJxfDevQSAUW2mJqWU+CtmDrEZVAg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b0e6e08b1981ebcdb2f3e7576de7ed0d004cfc16

Modified Files
--------------
src/backend/replication/logical/launcher.c  |  4 ++--
src/backend/replication/logical/tablesync.c | 23 +++++++++++++----------
src/backend/replication/logical/worker.c    | 22 +++++++++++-----------
src/include/replication/worker_internal.h   |  2 +-
4 files changed, 27 insertions(+), 24 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Double-space commands in system_constraints.sql/system_functions
Next
From: Michael Paquier
Date:
Subject: pgsql: Make saner the tab completion of INSERT and DELETE in psql