Skip to content

Commit ef415ca

Browse files
committed
Fix typo
In early development patches, "replication origins" were called "identifiers"; almost everything was renamed, but these references to the old terminology went unnoticed. Reported-by: Craig Ringer
1 parent a923c42 commit ef415ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/replication/logical/origin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ replorigin_session_setup(RepOriginId node)
10921092
{
10931093
ereport(ERROR,
10941094
(errcode(ERRCODE_OBJECT_IN_USE),
1095-
errmsg("replication identifier %d is already active for PID %d",
1095+
errmsg("replication origin %d is already active for PID %d",
10961096
curstate->roident, curstate->acquired_by)));
10971097
}
10981098

src/include/catalog/pg_proc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5425,7 +5425,7 @@ DATA(insert OID = 6011 ( pg_replication_origin_xact_reset PGNSP PGUID 12 1 0 0 0
54255425
DESCR("reset the transaction's origin lsn and timestamp");
54265426

54275427
DATA(insert OID = 6012 ( pg_replication_origin_advance PGNSP PGUID 12 1 0 0 0 f f f f t f v u 2 0 2278 "25 3220" _null_ _null_ _null_ _null_ _null_ pg_replication_origin_advance _null_ _null_ _null_ ));
5428-
DESCR("advance replication identifier to specific location");
5428+
DESCR("advance replication origin to specific location");
54295429

54305430
DATA(insert OID = 6013 ( pg_replication_origin_progress PGNSP PGUID 12 1 0 0 0 f f f f t f v u 2 0 3220 "25 16" _null_ _null_ _null_ _null_ _null_ pg_replication_origin_progress _null_ _null_ _null_ ));
54315431
DESCR("get an individual replication origin's replication progress");

0 commit comments

Comments
 (0)