1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Message style improvements

Message style, plurals, quoting, spelling, consistency with similar
messages
This commit is contained in:
Peter Eisentraut
2015-10-28 20:23:53 -04:00
parent d455651624
commit a8d585c091
24 changed files with 101 additions and 93 deletions

View File

@ -168,7 +168,7 @@ pg_cancel_backend(PG_FUNCTION_ARGS)
if (r == SIGNAL_BACKEND_NOPERMISSION)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
(errmsg("must be a member of the role whose query is being cancelled"))));
(errmsg("must be a member of the role whose query is being canceled"))));
PG_RETURN_BOOL(r == SIGNAL_BACKEND_SUCCESS);
}