aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-06-29 09:14:55 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-06-29 09:14:55 +0200
commit39a584dc90324b7323424d7450df8586ab2a0ca1 (patch)
treea0b45bcd1bd4c6b769b20be718469b467da01a1a /src/backend/storage/ipc
parentdda9f8e7bc2e1e5cc6c77b86ce54786e9df8e0c6 (diff)
downloadpostgresql-39a584dc90324b7323424d7450df8586ab2a0ca1.tar.gz
postgresql-39a584dc90324b7323424d7450df8586ab2a0ca1.zip
Error message wording improvements
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r--src/backend/storage/ipc/signalfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/signalfuncs.c b/src/backend/storage/ipc/signalfuncs.c
index eabb68a9e17..94ae553b946 100644
--- a/src/backend/storage/ipc/signalfuncs.c
+++ b/src/backend/storage/ipc/signalfuncs.c
@@ -122,7 +122,7 @@ pg_cancel_backend(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
errmsg("permission denied to cancel query"),
- errdetail("Only roles with the %s attribute may cancel queries of roles with %s.",
+ errdetail("Only roles with the %s attribute may cancel queries of roles with the %s attribute.",
"SUPERUSER", "SUPERUSER")));
if (r == SIGNAL_BACKEND_NOPERMISSION)
@@ -228,7 +228,7 @@ pg_terminate_backend(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
errmsg("permission denied to terminate process"),
- errdetail("Only roles with the %s attribute may terminate processes of roles with %s.",
+ errdetail("Only roles with the %s attribute may terminate processes of roles with the %s attribute.",
"SUPERUSER", "SUPERUSER")));
if (r == SIGNAL_BACKEND_NOPERMISSION)