Skip to content

Commit

Permalink
Adjust to change in call interface of get_fn_expr_rettype and get_fn_…
Browse files Browse the repository at this point in the history
…expr_argtype in

PostgreSQL 7.4devel.
  • Loading branch information
postgres committed Jul 3, 2003
1 parent d42f466 commit 2f3d5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plr.h
Expand Up @@ -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; \
} \
Expand All @@ -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]; \
} \
Expand Down

0 comments on commit 2f3d5d2

Please sign in to comment.