]> 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 46156ae6c6f1a0a5cf78e8039c3af32ab5524a50..c9d04ae0b9f9084e137a4118b44750a2f80fc53d 100644 (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)));
                }
 
index c4fc50dceb73798afeb6eaaaa7af76c7103f6e67..658229ce777624599d3092405e5f2207b6eb13e1 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' },