Standardize replication origin naming to use "ReplOrigin". The replication origin code was using inconsistent naming conventions. Functions were typically prefixed with 'replorigin', while typedefs and constants used "RepOrigin".
This commit unifies the naming convention by renaming RepOriginId to ReplOriginId. Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/CAD21AoBDgm3hDqUZ+nqu=vihmkcnjbujyaxg_yvv27bai2z...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1fdbca159e0055fefc0b391ec09520d0b3bd9248 Modified Files -------------- contrib/test_decoding/test_decoding.c | 6 +-- doc/src/sgml/logicaldecoding.sgml | 2 +- src/backend/access/rmgrdesc/xactdesc.c | 8 +-- src/backend/access/transam/commit_ts.c | 28 +++++------ src/backend/access/transam/twophase.c | 12 ++--- src/backend/access/transam/xact.c | 14 +++--- src/backend/access/transam/xloginsert.c | 4 +- src/backend/access/transam/xlogreader.c | 4 +- src/backend/commands/subscriptioncmds.c | 2 +- src/backend/executor/execReplication.c | 12 ++--- .../replication/logical/applyparallelworker.c | 2 +- src/backend/replication/logical/conflict.c | 16 +++--- src/backend/replication/logical/decode.c | 14 +++--- src/backend/replication/logical/logical.c | 2 +- src/backend/replication/logical/origin.c | 58 +++++++++++----------- src/backend/replication/logical/reorderbuffer.c | 8 +-- src/backend/replication/logical/tablesync.c | 4 +- src/backend/replication/logical/worker.c | 8 +-- src/backend/replication/pgoutput/pgoutput.c | 16 +++--- src/backend/utils/adt/pg_upgrade_support.c | 2 +- src/bin/pg_basebackup/pg_createsubscriber.c | 10 ++-- src/bin/pg_upgrade/t/004_subscription.pl | 4 +- src/include/access/commit_ts.h | 6 +-- src/include/access/twophase.h | 2 +- src/include/access/xlogdefs.h | 2 +- src/include/access/xlogreader.h | 2 +- src/include/executor/executor.h | 4 +- src/include/replication/conflict.h | 4 +- src/include/replication/logical.h | 2 +- src/include/replication/origin.h | 20 ++++---- src/include/replication/output_plugin.h | 2 +- src/include/replication/reorderbuffer.h | 10 ++-- src/tools/pgindent/typedefs.list | 2 +- 33 files changed, 146 insertions(+), 146 deletions(-)
