summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/signalfuncs.c
diff options
context:
space:
mode:
authorAlvaro Herrera2019-04-24 13:26:13 +0000
committerAlvaro Herrera2019-04-24 13:26:13 +0000
commit0a999e1290fc9d8708da61017e732380bc9239a3 (patch)
treecdee94a70c9041f2a6162f6a0b52ddd43512f4b3 /src/backend/storage/ipc/signalfuncs.c
parent5c47049180b8977154f99fdc7988d5846764afa2 (diff)
Unify error messages
... for translatability purposes.
Diffstat (limited to 'src/backend/storage/ipc/signalfuncs.c')
-rw-r--r--src/backend/storage/ipc/signalfuncs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/signalfuncs.c b/src/backend/storage/ipc/signalfuncs.c
index 4769b1b51eb..4bfbd57464c 100644
--- a/src/backend/storage/ipc/signalfuncs.c
+++ b/src/backend/storage/ipc/signalfuncs.c
@@ -181,7 +181,9 @@ pg_rotate_logfile(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
(errmsg("must be superuser to rotate log files with adminpack 1.0"),
- errhint("Consider using pg_logfile_rotate(), which is part of core, instead."))));
+ /* translator: %s is a SQL function name */
+ errhint("Consider using %s, which is part of core, instead.",
+ "pg_logfile_rotate()"))));
if (!Logging_collector)
{