mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 23:32:13 -04:00
parent
e53a611523
commit
a44d96add2
1 changed files with 1 additions and 1 deletions
|
|
@ -950,7 +950,7 @@ standard_ProcessUtility(PlannedStmt *pstmt,
|
|||
if (!has_privs_of_role(GetUserId(), ROLE_PG_CHECKPOINT))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
/* translator: %s is name of a SQL command, eg CHECKPOINT */
|
||||
/* translator: %s is name of a SQL command, eg CHECKPOINT */
|
||||
errmsg("permission denied to execute %s command",
|
||||
"CHECKPOINT"),
|
||||
errdetail("Only roles with privileges of the \"%s\" role may execute this command.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue