mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Message wording improvements
This commit is contained in:
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user