mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fix redundant wording
This commit is contained in:
parent
0f04fc67f7
commit
3a42a3ffd8
@ -173,7 +173,7 @@ pg_terminate_backend(PG_FUNCTION_ARGS)
|
|||||||
if (r == SIGNAL_BACKEND_NOPERMISSION)
|
if (r == SIGNAL_BACKEND_NOPERMISSION)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||||
(errmsg("must be superuser or have the same role to terminate backends running in other server processes"))));
|
(errmsg("must be superuser or have the same role to terminate other server processes"))));
|
||||||
|
|
||||||
PG_RETURN_BOOL(r == SIGNAL_BACKEND_SUCCESS);
|
PG_RETURN_BOOL(r == SIGNAL_BACKEND_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user