diff options
Diffstat (limited to 'src/include/utils/fcache.h')
-rw-r--r-- | src/include/utils/fcache.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/utils/fcache.h b/src/include/utils/fcache.h index a99b804d19c..bb081a04748 100644 --- a/src/include/utils/fcache.h +++ b/src/include/utils/fcache.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: fcache.h,v 1.15 2001/01/24 19:43:28 momjian Exp $ + * $Id: fcache.h,v 1.16 2001/03/22 04:01:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,19 +34,24 @@ typedef struct FunctionCache { + /* * Function manager's lookup info for the target function. */ FmgrInfo func; + /* * Per-call info for calling the target function. Unvarying fields - * are set up by init_fcache(). Argument values are filled in as needed. + * are set up by init_fcache(). Argument values are filled in as + * needed. */ FunctionCallInfoData fcinfo; + /* * "Resultinfo" node --- used only if target function returns a set. */ ReturnSetInfo rsinfo; + /* * argsValid is true when we are evaluating a set-valued function and * we are in the middle of a call series; we want to pass the same @@ -54,15 +59,16 @@ typedef struct FunctionCache * ExprEndResult). */ bool argsValid; /* TRUE if fcinfo contains valid arguments */ + /* - * hasSetArg is true if we found a set-valued argument to the function. - * This causes the function result to be a set as well. + * hasSetArg is true if we found a set-valued argument to the + * function. This causes the function result to be a set as well. */ bool hasSetArg; /* some argument returns a set */ } FunctionCache; extern FunctionCachePtr init_fcache(Oid foid, int nargs, - MemoryContext fcacheCxt); + MemoryContext fcacheCxt); #endif /* FCACHE_H */ |