~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/include/executor/functions.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * functions.h
 
4
 *              Declarations for execution of SQL-language functions.
 
5
 *
 
6
 *
 
7
 * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
 
8
 * Portions Copyright (c) 1994, Regents of the University of California
 
9
 *
 
10
 * src/include/executor/functions.h
 
11
 *
 
12
 *-------------------------------------------------------------------------
 
13
 */
 
14
#ifndef FUNCTIONS_H
 
15
#define FUNCTIONS_H
 
16
 
 
17
#include "nodes/execnodes.h"
 
18
#include "tcop/dest.h"
 
19
 
 
20
/* This struct is known only within executor/functions.c */
 
21
typedef struct SQLFunctionParseInfo *SQLFunctionParseInfoPtr;
 
22
 
 
23
extern Datum fmgr_sql(PG_FUNCTION_ARGS);
 
24
 
 
25
extern SQLFunctionParseInfoPtr prepare_sql_fn_parse_info(HeapTuple procedureTuple,
 
26
                                                  Node *call_expr,
 
27
                                                  Oid inputCollation);
 
28
 
 
29
extern void sql_fn_parser_setup(struct ParseState *pstate,
 
30
                                        SQLFunctionParseInfoPtr pinfo);
 
31
 
 
32
extern bool check_sql_fn_retval(Oid func_id, Oid rettype,
 
33
                                        List *queryTreeList,
 
34
                                        bool *modifyTargetList,
 
35
                                        JunkFilter **junkFilter);
 
36
 
 
37
extern DestReceiver *CreateSQLFunctionDestReceiver(void);
 
38
 
 
39
#endif   /* FUNCTIONS_H */