Standardize replication origin naming to use "ReplOrigin".

Masahiko Sawada <msawada@postgresql.org>

Commit: 1fdbca159e0055fefc0b391ec09520d0b3bd9248
Author: Masahiko Sawada <msawada@postgresql.org>
Date: 2026-01-28T19:03:29Z
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 <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CAD21AoBDgm3hDqUZ+nqu=ViHmkCnJBuJyaxG_yvv27BAi2zBmQ@mail.gmail.com

Files

PathChange+/−
contrib/test_decoding/test_decoding.c modified +3 −3
doc/src/sgml/logicaldecoding.sgml modified +1 −1
src/backend/access/rmgrdesc/xactdesc.c modified +4 −4
src/backend/access/transam/commit_ts.c modified +14 −14
src/backend/access/transam/twophase.c modified +6 −6
src/backend/access/transam/xact.c modified +7 −7
src/backend/access/transam/xloginsert.c modified +2 −2
src/backend/access/transam/xlogreader.c modified +2 −2
src/backend/commands/subscriptioncmds.c modified +1 −1
src/backend/executor/execReplication.c modified +6 −6
src/backend/replication/logical/applyparallelworker.c modified +1 −1
src/backend/replication/logical/conflict.c modified +8 −8
src/backend/replication/logical/decode.c modified +7 −7
src/backend/replication/logical/logical.c modified +1 −1
src/backend/replication/logical/origin.c modified +29 −29
src/backend/replication/logical/reorderbuffer.c modified +4 −4
src/backend/replication/logical/tablesync.c modified +2 −2
src/backend/replication/logical/worker.c modified +4 −4
src/backend/replication/pgoutput/pgoutput.c modified +8 −8
src/backend/utils/adt/pg_upgrade_support.c modified +1 −1
src/bin/pg_basebackup/pg_createsubscriber.c modified +5 −5
src/bin/pg_upgrade/t/004_subscription.pl modified +2 −2
src/include/access/commit_ts.h modified +3 −3
src/include/access/twophase.h modified +1 −1
src/include/access/xlogdefs.h modified +1 −1
src/include/access/xlogreader.h modified +1 −1
src/include/executor/executor.h modified +2 −2
src/include/replication/conflict.h modified +2 −2
src/include/replication/logical.h modified +1 −1
src/include/replication/origin.h modified +10 −10
src/include/replication/output_plugin.h modified +1 −1
src/include/replication/reorderbuffer.h modified +5 −5
src/tools/pgindent/typedefs.list modified +1 −1

Discussion