1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* functions.h
|
2000-08-23 23:29:15 -04:00
|
|
|
* Declarations for execution of SQL-language functions.
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
2010-01-02 11:58:17 -05:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2010-01-02 11:58:17 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/functions.h,v 1.35 2010/01/02 16:58:03 momjian Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
1997-09-07 01:04:48 -04:00
|
|
|
#ifndef FUNCTIONS_H
|
1996-07-09 02:22:35 -04:00
|
|
|
#define FUNCTIONS_H
|
|
|
|
|
|
2004-10-07 14:38:51 -04:00
|
|
|
#include "nodes/execnodes.h"
|
2008-10-31 15:37:56 -04:00
|
|
|
#include "tcop/dest.h"
|
2004-10-07 14:38:51 -04:00
|
|
|
|
1997-11-25 20:14:33 -05:00
|
|
|
|
2000-08-23 23:29:15 -04:00
|
|
|
extern Datum fmgr_sql(PG_FUNCTION_ARGS);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2005-03-31 17:46:33 -05:00
|
|
|
extern bool check_sql_fn_retval(Oid func_id, Oid rettype,
|
2005-10-14 22:49:52 -04:00
|
|
|
List *queryTreeList,
|
2009-12-13 21:15:54 -05:00
|
|
|
bool *modifyTargetList,
|
2005-10-14 22:49:52 -04:00
|
|
|
JunkFilter **junkFilter);
|
2004-10-07 14:38:51 -04:00
|
|
|
|
2008-10-31 15:37:56 -04:00
|
|
|
extern DestReceiver *CreateSQLFunctionDestReceiver(void);
|
|
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* FUNCTIONS_H */
|