Permalink
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...
1 parent d42f466 commit 2f3d5d25734ae0a4a94f16d4225c8f7ae13ba817 postgres committed Jul 3, 2003
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]; \
} \

0 comments on commit 2f3d5d2

Please sign in to comment.