diff options
Diffstat (limited to 'src/backend/executor/functions.c')
-rw-r--r-- | src/backend/executor/functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c index 39880663307..8d1fda2ddc0 100644 --- a/src/backend/executor/functions.c +++ b/src/backend/executor/functions.c @@ -268,7 +268,7 @@ sql_fn_parser_setup(struct ParseState *pstate, SQLFunctionParseInfoPtr pinfo) pstate->p_post_columnref_hook = sql_fn_post_column_ref; pstate->p_paramref_hook = sql_fn_param_ref; /* no need to use p_coerce_param_hook */ - pstate->p_ref_hook_state = (void *) pinfo; + pstate->p_ref_hook_state = pinfo; } /* @@ -614,7 +614,7 @@ init_sql_fcache(FunctionCallInfo fcinfo, Oid collation, bool lazyEvalOK) */ fcache = (SQLFunctionCachePtr) palloc0(sizeof(SQLFunctionCache)); fcache->fcontext = fcontext; - finfo->fn_extra = (void *) fcache; + finfo->fn_extra = fcache; /* * get the procedure tuple corresponding to the given function Oid |