PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_operator_fn.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_operator_fn.h
4 * prototypes for functions in catalog/pg_operator.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_operator_fn.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PG_OPERATOR_FN_H
15 #define PG_OPERATOR_FN_H
16 
17 #include "catalog/objectaddress.h"
18 #include "nodes/pg_list.h"
19 
20 extern ObjectAddress OperatorCreate(const char *operatorName,
21  Oid operatorNamespace,
22  Oid leftTypeId,
23  Oid rightTypeId,
24  Oid procedureId,
25  List *commutatorName,
26  List *negatorName,
27  Oid restrictionId,
28  Oid joinId,
29  bool canMerge,
30  bool canHash);
31 
32 extern ObjectAddress makeOperatorDependencies(HeapTuple tuple, bool isUpdate);
33 
34 extern void OperatorUpd(Oid baseId, Oid commId, Oid negId, bool isDelete);
35 
36 #endif /* PG_OPERATOR_FN_H */
ObjectAddress OperatorCreate(const char *operatorName, Oid operatorNamespace, Oid leftTypeId, Oid rightTypeId, Oid procedureId, List *commutatorName, List *negatorName, Oid restrictionId, Oid joinId, bool canMerge, bool canHash)
Definition: pg_operator.c:324
ObjectAddress makeOperatorDependencies(HeapTuple tuple, bool isUpdate)
Definition: pg_operator.c:764
unsigned int Oid
Definition: postgres_ext.h:31
void OperatorUpd(Oid baseId, Oid commId, Oid negId, bool isDelete)
Definition: pg_operator.c:645
Definition: pg_list.h:45