aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-08-21 11:12:44 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-08-21 11:12:44 -0400
commit8f75e8e44609335e6bdd73123284682235f242a2 (patch)
treeb1c3f6a056263af5710134f88619af4b7abad5a4 /src
parentbbd93667bde56d3900add55479759f33d20ece1e (diff)
downloadpostgresql-8f75e8e44609335e6bdd73123284682235f242a2.tar.gz
postgresql-8f75e8e44609335e6bdd73123284682235f242a2.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/origin.c2
-rw-r--r--src/include/catalog/pg_proc.dat2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c
index 7477ceae283..07ae613f708 100644
--- a/src/backend/replication/logical/origin.c
+++ b/src/backend/replication/logical/origin.c
@@ -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)));
}
diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat
index b88e886f7d7..cf1f4093513 100644
--- a/src/include/catalog/pg_proc.dat
+++ b/src/include/catalog/pg_proc.dat
@@ -10555,7 +10555,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' },