1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * opfam_internal.h |
4 | * |
5 | * Portions Copyright (c) 1996-2019, 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 */ |
26 | } OpFamilyMember; |
27 | |
28 | #endif /* OPFAM_INTERNAL_H */ |
29 | |