pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Rename the logical replication global "wrconn" 5+ messages / 1 participants [nested] [flat]
* pgsql: Rename the logical replication global "wrconn" @ 2021-05-12 23:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2021-05-12 23:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b5b7cba7643ca96f0ff882e643ee1ebd8c86003a 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(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Rename the logical replication global "wrconn" @ 2021-05-12 23:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2021-05-12 23:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e5c071bc0f93c9c47821c876e36459580e08a68c Modified Files -------------- src/backend/replication/logical/launcher.c | 4 ++-- src/backend/replication/logical/tablesync.c | 26 +++++++++++++++----------- src/backend/replication/logical/worker.c | 21 +++++++++++---------- src/include/replication/worker_internal.h | 2 +- 4 files changed, 29 insertions(+), 24 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Rename the logical replication global "wrconn" @ 2021-05-12 23:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2021-05-12 23:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Rename the logical replication global "wrconn" @ 2021-05-12 23:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2021-05-12 23:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6e9723cde5c672bb55ed803fc42720d0a46ce03c Modified Files -------------- src/backend/replication/logical/launcher.c | 4 ++-- src/backend/replication/logical/tablesync.c | 26 +++++++++++++++----------- src/backend/replication/logical/worker.c | 22 +++++++++++----------- src/include/replication/worker_internal.h | 2 +- 4 files changed, 29 insertions(+), 25 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Rename the logical replication global "wrconn" @ 2021-05-12 23:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2021-05-12 23:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/db16c656478b815627a03bb0a31833391a733eb0 Modified Files -------------- src/backend/replication/logical/launcher.c | 4 ++-- src/backend/replication/logical/tablesync.c | 35 +++++++++++++++++------------ src/backend/replication/logical/worker.c | 23 ++++++++++--------- src/include/replication/worker_internal.h | 2 +- 4 files changed, 36 insertions(+), 28 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-05-12 23:19 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-05-12 23:19 pgsql: Rename the logical replication global "wrconn" Alvaro Herrera <alvherre@alvh.no-ip.org> 2021-05-12 23:19 pgsql: Rename the logical replication global "wrconn" Alvaro Herrera <alvherre@alvh.no-ip.org> 2021-05-12 23:19 pgsql: Rename the logical replication global "wrconn" Alvaro Herrera <alvherre@alvh.no-ip.org> 2021-05-12 23:19 pgsql: Rename the logical replication global "wrconn" Alvaro Herrera <alvherre@alvh.no-ip.org> 2021-05-12 23:19 pgsql: Rename the logical replication global "wrconn" Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox