From 782c16c6a154e760bf1608d633488538cd52da93 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Aug 2000 03:29:15 +0000 Subject: 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. --- src/include/executor/functions.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/include/executor/functions.h') diff --git a/src/include/executor/functions.h b/src/include/executor/functions.h index 0e55be1980..649e38e142 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 */ -- cgit v1.2.1