diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-07-10 10:46:54 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-07-10 10:46:54 +0200 |
commit | 2631ebab7b18bdc079fd86107c47d6104a6b3c6e (patch) | |
tree | 43b97a5207af4b374a802333b3fbfc5c8575f90d /src/backend/replication | |
parent | 55c95f24cd7c91fc80d7c0d2c842c0b633f9bdc9 (diff) |
Message wording improvements
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 2 | ||||
-rw-r--r-- | src/backend/replication/walsender.c | 2 |
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 d3a136b6f55..4c53de08b9b 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) |