Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjust to change in call interface of get_fn_expr_rettype and get_fn_…

…expr_argtype in

PostgreSQL 7.4devel.
  • Loading branch information...
commit 2f3d5d25734ae0a4a94f16d4225c8f7ae13ba817 1 parent d42f466
postgres authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plr.h
View
4 plr.h
@@ -214,7 +214,7 @@ extern SEXP R_ParseVector(SEXP, int, int *);
if (procStruct->prorettype == ANYARRAYOID || \
procStruct->prorettype == ANYELEMENTOID) \
{ \
- prorettype_ = get_fn_expr_rettype(fcinfo); \
+ prorettype_ = get_fn_expr_rettype(fcinfo->flinfo); \
if (prorettype_ == InvalidOid) \
prorettype_ = procStruct->prorettype; \
} \
@@ -231,7 +231,7 @@ extern SEXP R_ParseVector(SEXP, int, int *);
if (procStruct->proargtypes[i] == ANYARRAYOID || \
procStruct->proargtypes[i] == ANYELEMENTOID) \
{ \
- proargtypes_[i] = get_fn_expr_argtype(fcinfo, i); \
+ proargtypes_[i] = get_fn_expr_argtype(fcinfo->flinfo, i); \
if (proargtypes_[i] == InvalidOid) \
proargtypes_[i] = procStruct->proargtypes[i]; \
} \
Please sign in to comment.
Something went wrong with that request. Please try again.