@@ -9907,9 +9907,11 @@ get_json_constructor(JsonConstructorExpr *ctor, deparse_context *context,
9907
9907
funcname = "JSON_ARRAY" ;
9908
9908
break ;
9909
9909
case JSCTOR_JSON_OBJECTAGG :
9910
- return get_json_agg_constructor (ctor , context , "JSON_OBJECTAGG" , true);
9910
+ get_json_agg_constructor (ctor , context , "JSON_OBJECTAGG" , true);
9911
+ return ;
9911
9912
case JSCTOR_JSON_ARRAYAGG :
9912
- return get_json_agg_constructor (ctor , context , "JSON_ARRAYAGG" , false);
9913
+ get_json_agg_constructor (ctor , context , "JSON_ARRAYAGG" , false);
9914
+ return ;
9913
9915
default :
9914
9916
elog (ERROR , "invalid JsonConstructorExprType %d" , ctor -> type );
9915
9917
}
@@ -10064,8 +10066,8 @@ get_agg_expr_helper(Aggref *aggref, deparse_context *context,
10064
10066
static void
10065
10067
get_agg_expr (Aggref * aggref , deparse_context * context , Aggref * original_aggref )
10066
10068
{
10067
- return get_agg_expr_helper (aggref , context , original_aggref , NULL , NULL ,
10068
- false);
10069
+ get_agg_expr_helper (aggref , context , original_aggref , NULL , NULL ,
10070
+ false);
10069
10071
}
10070
10072
10071
10073
/*
@@ -10182,7 +10184,7 @@ get_windowfunc_expr_helper(WindowFunc *wfunc, deparse_context *context,
10182
10184
static void
10183
10185
get_windowfunc_expr (WindowFunc * wfunc , deparse_context * context )
10184
10186
{
10185
- return get_windowfunc_expr_helper (wfunc , context , NULL , NULL , false);
10187
+ get_windowfunc_expr_helper (wfunc , context , NULL , NULL , false);
10186
10188
}
10187
10189
10188
10190
/*
@@ -10438,13 +10440,13 @@ get_json_agg_constructor(JsonConstructorExpr *ctor, deparse_context *context,
10438
10440
get_json_constructor_options (ctor , & options );
10439
10441
10440
10442
if (IsA (ctor -> func , Aggref ))
10441
- return get_agg_expr_helper ((Aggref * ) ctor -> func , context ,
10442
- (Aggref * ) ctor -> func ,
10443
- funcname , options .data , is_json_objectagg );
10443
+ get_agg_expr_helper ((Aggref * ) ctor -> func , context ,
10444
+ (Aggref * ) ctor -> func ,
10445
+ funcname , options .data , is_json_objectagg );
10444
10446
else if (IsA (ctor -> func , WindowFunc ))
10445
- return get_windowfunc_expr_helper ((WindowFunc * ) ctor -> func , context ,
10446
- funcname , options .data ,
10447
- is_json_objectagg );
10447
+ get_windowfunc_expr_helper ((WindowFunc * ) ctor -> func , context ,
10448
+ funcname , options .data ,
10449
+ is_json_objectagg );
10448
10450
else
10449
10451
elog (ERROR , "invalid JsonConstructorExpr underlying node type: %d" ,
10450
10452
nodeTag (ctor -> func ));
0 commit comments