diff options
author | Alvaro Herrera | 2020-01-30 16:32:04 +0000 |
---|---|---|
committer | Alvaro Herrera | 2020-01-30 16:32:04 +0000 |
commit | 4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (patch) | |
tree | ba259edb0559281eaf0953d6995781b264a1aec7 /contrib/pageinspect/fsmfuncs.c | |
parent | 2520cf8c2a0a1d679094dffbd99871884e620ed5 (diff) |
Remove excess parens in ereport() calls
Cosmetic cleanup, not worth backpatching.
Discussion: https://postgr.es/m/20200129200401.GA6303@alvherre.pgsql
Reviewed-by: Tom Lane, Michael Paquier
Diffstat (limited to 'contrib/pageinspect/fsmfuncs.c')
-rw-r--r-- | contrib/pageinspect/fsmfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pageinspect/fsmfuncs.c b/contrib/pageinspect/fsmfuncs.c index e830be8060d..099acbb2fe4 100644 --- a/contrib/pageinspect/fsmfuncs.c +++ b/contrib/pageinspect/fsmfuncs.c @@ -42,7 +42,7 @@ fsm_page_contents(PG_FUNCTION_ARGS) if (!superuser()) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), - (errmsg("must be superuser to use raw page functions")))); + errmsg("must be superuser to use raw page functions"))); fsmpage = (FSMPage) PageGetContents(VARDATA(raw_page)); |