@@ -9907,9 +9907,11 @@ get_json_constructor(JsonConstructorExpr *ctor, deparse_context *context,
99079907 funcname = "JSON_ARRAY" ;
99089908 break ;
99099909 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 ;
99119912 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 ;
99139915 default :
99149916 elog (ERROR , "invalid JsonConstructorExprType %d" , ctor -> type );
99159917 }
@@ -10064,8 +10066,8 @@ get_agg_expr_helper(Aggref *aggref, deparse_context *context,
1006410066static void
1006510067get_agg_expr (Aggref * aggref , deparse_context * context , Aggref * original_aggref )
1006610068{
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);
1006910071}
1007010072
1007110073/*
@@ -10182,7 +10184,7 @@ get_windowfunc_expr_helper(WindowFunc *wfunc, deparse_context *context,
1018210184static void
1018310185get_windowfunc_expr (WindowFunc * wfunc , deparse_context * context )
1018410186{
10185- return get_windowfunc_expr_helper (wfunc , context , NULL , NULL , false);
10187+ get_windowfunc_expr_helper (wfunc , context , NULL , NULL , false);
1018610188}
1018710189
1018810190/*
@@ -10438,13 +10440,13 @@ get_json_agg_constructor(JsonConstructorExpr *ctor, deparse_context *context,
1043810440 get_json_constructor_options (ctor , & options );
1043910441
1044010442 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 );
1044410446 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 );
1044810450 else
1044910451 elog (ERROR , "invalid JsonConstructorExpr underlying node type: %d" ,
1045010452 nodeTag (ctor -> func ));
0 commit comments