aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-30 13:32:04 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-30 13:32:04 -0300
commit4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (patch)
treeba259edb0559281eaf0953d6995781b264a1aec7 /src/backend/commands/functioncmds.c
parent2520cf8c2a0a1d679094dffbd99871884e620ed5 (diff)
downloadpostgresql-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 'src/backend/commands/functioncmds.c')
-rw-r--r--src/backend/commands/functioncmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index 0f40c9ee27b..540044b2d68 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -286,8 +286,8 @@ interpret_function_parameter_list(ParseState *pstate,
if (fp->mode == FUNC_PARAM_OUT)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- (errmsg("procedures cannot have OUT arguments"),
- errhint("INOUT arguments are permitted."))));
+ errmsg("procedures cannot have OUT arguments"),
+ errhint("INOUT arguments are permitted.")));
}
/* handle input parameters */