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
This commit is contained in:
Alvaro Herrera 2019-08-21 11:12:44 -04:00
parent 39c2056289
commit dc2a2cfaa8
2 changed files with 2 additions and 2 deletions

View File

@ -1091,7 +1091,7 @@ replorigin_session_setup(RepOriginId node)
{
ereport(ERROR,
(errcode(ERRCODE_OBJECT_IN_USE),
errmsg("replication identifier %d is already active for PID %d",
errmsg("replication origin %d is already active for PID %d",
curstate->roident, curstate->acquired_by)));
}

View File

@ -10093,7 +10093,7 @@
prosrc => 'pg_replication_origin_xact_reset' },
{ oid => '6012',
descr => 'advance replication identifier to specific location',
descr => 'advance replication origin to specific location',
proname => 'pg_replication_origin_advance', provolatile => 'v',
proparallel => 'u', prorettype => 'void', proargtypes => 'text pg_lsn',
prosrc => 'pg_replication_origin_advance' },