postgres.git / summary / log / commit / refs
commit ef415cae3964eafd2a1500317a46073eac845fe4
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Wed Aug 21 15:12:44 2019 +0000
First released in: 13.0, 9.5.20, 9.6.16, 10.11, 11.6, 12.0
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
src/backend/replication/logical/origin.c | 2 +-
src/include/catalog/pg_proc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c
index c554b05e1a0..9b8b34ea88e 100644
--- a/src/backend/replication/logical/origin.c
+++ b/src/backend/replication/logical/origin.c
@@ -1092,7 +1092,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)));
}
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h
index b083ef7ecd3..6a01566bb68 100644
--- a/src/include/catalog/pg_proc.h
+++ b/src/include/catalog/pg_proc.h
@@ -5425,7 +5425,7 @@ DATA(insert OID = 6011 ( pg_replication_origin_xact_reset PGNSP PGUID 12 1 0 0 0
DESCR("reset the transaction's origin lsn and timestamp");
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_ ));
-DESCR("advance replication identifier to specific location");
+DESCR("advance replication origin to specific location");
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_ ));
DESCR("get an individual replication origin's replication progress");
[parent: a923c426beaf]