diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-01-30 13:32:04 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-01-30 13:32:04 -0300 |
commit | 4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (patch) | |
tree | ba259edb0559281eaf0953d6995781b264a1aec7 /contrib/pgstattuple/pgstattuple.c | |
parent | 2520cf8c2a0a1d679094dffbd99871884e620ed5 (diff) | |
download | postgresql-4e89c79a52f8a898edd648b56a00f0f4f840cfe7.tar.gz postgresql-4e89c79a52f8a898edd648b56a00f0f4f840cfe7.zip |
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/pgstattuple/pgstattuple.c')
-rw-r--r-- | contrib/pgstattuple/pgstattuple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgstattuple/pgstattuple.c b/contrib/pgstattuple/pgstattuple.c index 70af43ebd5a..69179d4104d 100644 --- a/contrib/pgstattuple/pgstattuple.c +++ b/contrib/pgstattuple/pgstattuple.c @@ -173,7 +173,7 @@ pgstattuple(PG_FUNCTION_ARGS) if (!superuser()) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), - (errmsg("must be superuser to use pgstattuple functions")))); + errmsg("must be superuser to use pgstattuple functions"))); /* open relation */ relrv = makeRangeVarFromNameList(textToQualifiedNameList(relname)); @@ -213,7 +213,7 @@ pgstattuplebyid(PG_FUNCTION_ARGS) if (!superuser()) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), - (errmsg("must be superuser to use pgstattuple functions")))); + errmsg("must be superuser to use pgstattuple functions"))); /* open relation */ rel = relation_open(relid, AccessShareLock); |