]> granicus.if.org Git - postgresql/blob - src/include/catalog/pg_proc_fn.h
Update copyright for the year 2010.
[postgresql] / src / include / catalog / pg_proc_fn.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_proc_fn.h
4  *       prototypes for functions in catalog/pg_proc.c
5  *
6  *
7  * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/catalog/pg_proc_fn.h,v 1.8 2010/01/02 16:58:02 momjian Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PG_PROC_FN_H
15 #define PG_PROC_FN_H
16
17 #include "nodes/pg_list.h"
18
19 extern Oid ProcedureCreate(const char *procedureName,
20                                 Oid procNamespace,
21                                 bool replace,
22                                 bool returnsSet,
23                                 Oid returnType,
24                                 Oid languageObjectId,
25                                 Oid languageValidator,
26                                 const char *prosrc,
27                                 const char *probin,
28                                 bool isAgg,
29                                 bool isWindowFunc,
30                                 bool security_definer,
31                                 bool isStrict,
32                                 char volatility,
33                                 oidvector *parameterTypes,
34                                 Datum allParameterTypes,
35                                 Datum parameterModes,
36                                 Datum parameterNames,
37                                 List *parameterDefaults,
38                                 Datum proconfig,
39                                 float4 procost,
40                                 float4 prorows);
41
42 extern bool function_parse_error_transpose(const char *prosrc);
43
44 #endif   /* PG_PROC_FN_H */