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/executor/functions.h | |
parent | 87523ab8db34859ae3fb980a3fab9f29dfc4c97a (diff) |
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/executor/functions.h')
-rw-r--r-- | src/include/executor/functions.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/include/executor/functions.h b/src/include/executor/functions.h index 0e55be1980e..649e38e142f 100644 --- a/src/include/executor/functions.h +++ b/src/include/executor/functions.h @@ -1,24 +1,21 @@ /*------------------------------------------------------------------------- * * functions.h - * + * Declarations for execution of SQL-language functions. * * * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: functions.h,v 1.13 2000/08/08 15:42:39 tgl Exp $ + * $Id: functions.h,v 1.14 2000/08/24 03:29:10 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef FUNCTIONS_H #define FUNCTIONS_H -#include "nodes/parsenodes.h" -#include "utils/syscache.h" +#include "fmgr.h" -extern Datum postquel_function(FunctionCallInfo fcinfo, - FunctionCachePtr fcache, - bool *isDone); +extern Datum fmgr_sql(PG_FUNCTION_ARGS); #endif /* FUNCTIONS_H */ |