diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-24 03:29:15 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-24 03:29:15 +0000 |
| commit | 782c16c6a154e760bf1608d633488538cd52da93 (patch) | |
| tree | 902da787593da21a979bd2f74b0b44acf9c427b0 /src/include/fmgr.h | |
| parent | 87523ab8db34859ae3fb980a3fab9f29dfc4c97a (diff) | |
| download | postgresql-782c16c6a154e760bf1608d633488538cd52da93.tar.gz | |
SQL-language functions are now callable in ordinary fmgr contexts ...
for example, an SQL function can be used in a functional index. (I make
no promises about speed, but it'll work ;-).) Clean up and simplify
handling of functions returning sets.
Diffstat (limited to 'src/include/fmgr.h')
| -rw-r--r-- | src/include/fmgr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h index 274f8f959d..28634262bc 100644 --- a/src/include/fmgr.h +++ b/src/include/fmgr.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: fmgr.h,v 1.9 2000/07/29 03:26:47 tgl Exp $ + * $Id: fmgr.h,v 1.10 2000/08/24 03:29:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -41,7 +41,9 @@ typedef struct Oid fn_oid; /* OID of function (NOT of handler, if any) */ short fn_nargs; /* 0..FUNC_MAX_ARGS, or -1 if variable arg count */ bool fn_strict; /* function is "strict" (NULL in => NULL out) */ + bool fn_retset; /* function returns a set (over multiple calls) */ void *fn_extra; /* extra space for use by handler */ + MemoryContext fn_mcxt; /* memory context to store fn_extra in */ } FmgrInfo; /* |
