PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
opfam_internal.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * opfam_internal.h
4  *
5  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * src/include/catalog/opfam_internal.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef OPFAM_INTERNAL_H
13 #define OPFAM_INTERNAL_H
14 
15 /*
16  * We use lists of this struct type to keep track of both operators and
17  * procedures while building or adding to an opfamily.
18  */
19 typedef struct
20 {
21  Oid object; /* operator or support proc's OID */
22  int number; /* strategy or support proc number */
23  Oid lefttype; /* lefttype */
24  Oid righttype; /* righttype */
25  Oid sortfamily; /* ordering operator's sort opfamily, or 0 */
27 
28 #endif /* OPFAM_INTERNAL_H */
unsigned int Oid
Definition: postgres_ext.h:31