1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2023-05-19 18:45:29 +02:00
parent e5f85744ea
commit 8e7912e73d
11 changed files with 31 additions and 30 deletions

View File

@@ -212,7 +212,8 @@ pg_log_standby_snapshot(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("recovery is in progress"),
errhint("pg_log_standby_snapshot() cannot be executed during recovery.")));
errhint("%s cannot be executed during recovery.",
"pg_log_standby_snapshot()")));
if (!XLogStandbyInfoActive())
ereport(ERROR,