From 4e89c79a52f8a898edd648b56a00f0f4f840cfe7 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 30 Jan 2020 13:32:04 -0300 Subject: 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 --- contrib/hstore_plperl/hstore_plperl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/hstore_plperl/hstore_plperl.c') diff --git a/contrib/hstore_plperl/hstore_plperl.c b/contrib/hstore_plperl/hstore_plperl.c index 1316b0500be..417b721cff9 100644 --- a/contrib/hstore_plperl/hstore_plperl.c +++ b/contrib/hstore_plperl/hstore_plperl.c @@ -116,7 +116,7 @@ plperl_to_hstore(PG_FUNCTION_ARGS) if (SvTYPE(in) != SVt_PVHV) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - (errmsg("cannot transform non-hash Perl value to hstore")))); + errmsg("cannot transform non-hash Perl value to hstore"))); hv = (HV *) in; pcount = hv_iterinit(hv); -- cgit v1.2.3