]> granicus.if.org Git - postgresql/commitdiff
Fix typo
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 21 Aug 2019 15:12:44 +0000 (11:12 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 21 Aug 2019 15:12:44 +0000 (11:12 -0400)
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
src/backend/replication/logical/origin.c
src/include/catalog/pg_proc.dat

index 7477ceae283f4f301fb5fae021640d728f3dc0b4..07ae613f7084d9b26caa14f2e22d4cb7e5b20e6c 100644 (file)
@@ -1100,7 +1100,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)));
                }
 
index b88e886f7d7675837ccabe2da1cbe63da698cf5f..cf1f40935130150dc201cf26a44f13e575bc7f97 100644 (file)
   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' },