File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ deflist_to_tuplestore(ReturnSetInfo *rsinfo, List *options)
544
544
nulls [0 ] = false;
545
545
if (def -> arg )
546
546
{
547
- values [1 ] = CStringGetTextDatum ((( Value * ) ( def -> arg )) -> val . str );
547
+ values [1 ] = CStringGetTextDatum (strVal ( def -> arg ));
548
548
nulls [1 ] = false;
549
549
}
550
550
else
Original file line number Diff line number Diff line change @@ -13890,7 +13890,7 @@ func_expr_common_subexpr:
13890
13890
* Convert SystemTypeName() to SystemFuncName() even though
13891
13891
* at the moment they result in the same thing.
13892
13892
*/
13893
- $$ = (Node *) makeFuncCall(SystemFuncName(((Value *) llast($5 ->names))->val.str ),
13893
+ $$ = (Node *) makeFuncCall(SystemFuncName(strVal( llast($5 ->names))),
13894
13894
list_make1 ($3 ),
13895
13895
COERCE_EXPLICIT_CALL,
13896
13896
@1);
You can’t perform that action at this time.
0 commit comments