]> 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 681132c922b2470433dcf7a25112880125fa16f0..5d76b6bc846f452aa86c9a4a6df5a50a40239462 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 36ae2ac9d8637843ac778d625362da7c19e41dbd..e99b346b9211f4859fc8f3accb409efe84cfff22 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' },