summaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-07-10 10:46:54 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-07-10 10:47:24 +0200
commite53a611523af0195d7025b979d29ea4d166ad762 (patch)
tree0ddda9410495ad665f328fd7ddbafafcd503f7a2 /src/backend/replication
parent9b286858e3ab1647304c5fbb2b1529de6bead8f7 (diff)
Message wording improvements
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/libpqwalreceiver/libpqwalreceiver.c2
-rw-r--r--src/backend/replication/walsender.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
index dc9c5c82d94..60d5c1fc403 100644
--- a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
+++ b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
@@ -196,7 +196,7 @@ libpqrcv_connect(const char *conninfo, bool logical, bool must_use_password,
(errcode(ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED),
errmsg("password is required"),
errdetail("Non-superuser cannot connect if the server does not request a password."),
- errhint("Target server's authentication method must be changed. or set password_required=false in the subscription attributes.")));
+ errhint("Target server's authentication method must be changed, or set password_required=false in the subscription parameters.")));
}
if (logical)
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index cedadb0036f..d27ef2985d7 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -1113,7 +1113,7 @@ CreateReplicationSlot(CreateReplicationSlotCmd *cmd)
if (!XactReadOnly)
ereport(ERROR,
/*- translator: %s is a CREATE_REPLICATION_SLOT statement */
- (errmsg("%s must be called in a read only transaction",
+ (errmsg("%s must be called in a read-only transaction",
"CREATE_REPLICATION_SLOT ... (SNAPSHOT 'use')")));
if (FirstSnapshotSet)