PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_proc_fn.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_proc_fn.h
4  * prototypes for functions in catalog/pg_proc.c
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/catalog/pg_proc_fn.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PG_PROC_FN_H
15 #define PG_PROC_FN_H
16 
17 #include "catalog/objectaddress.h"
18 #include "nodes/pg_list.h"
19 
20 extern ObjectAddress ProcedureCreate(const char *procedureName,
21  Oid procNamespace,
22  bool replace,
23  bool returnsSet,
24  Oid returnType,
25  Oid proowner,
26  Oid languageObjectId,
27  Oid languageValidator,
28  const char *prosrc,
29  const char *probin,
30  bool isAgg,
31  bool isWindowFunc,
32  bool security_definer,
33  bool isLeakProof,
34  bool isStrict,
35  char volatility,
36  char parallel,
37  oidvector *parameterTypes,
38  Datum allParameterTypes,
39  Datum parameterModes,
40  Datum parameterNames,
41  List *parameterDefaults,
42  Datum trftypes,
43  Datum proconfig,
44  float4 procost,
45  float4 prorows);
46 
47 extern bool function_parse_error_transpose(const char *prosrc);
48 
49 extern List *oid_array_to_list(Datum datum);
50 
51 #endif /* PG_PROC_FN_H */
Definition: c.h:472
unsigned int Oid
Definition: postgres_ext.h:31
ObjectAddress ProcedureCreate(const char *procedureName, Oid procNamespace, bool replace, bool returnsSet, Oid returnType, Oid proowner, Oid languageObjectId, Oid languageValidator, const char *prosrc, const char *probin, bool isAgg, bool isWindowFunc, bool security_definer, bool isLeakProof, bool isStrict, char volatility, char parallel, oidvector *parameterTypes, Datum allParameterTypes, Datum parameterModes, Datum parameterNames, List *parameterDefaults, Datum trftypes, Datum proconfig, float4 procost, float4 prorows)
Definition: pg_proc.c:67
bool function_parse_error_transpose(const char *prosrc)
Definition: pg_proc.c:984
float float4
Definition: c.h:374
uintptr_t Datum
Definition: postgres.h:372
List * oid_array_to_list(Datum datum)
Definition: pg_proc.c:1156
Definition: pg_list.h:45