Line | Count | Source |
1 | /*------------------------------------------------------------------------- | |
2 | * | |
3 | * pg_index_d.h | |
4 | * Macro definitions for pg_index | |
5 | * | |
6 | * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group | |
7 | * Portions Copyright (c) 1994, Regents of the University of California | |
8 | * | |
9 | * NOTES | |
10 | * ****************************** | |
11 | * *** DO NOT EDIT THIS FILE! *** | |
12 | * ****************************** | |
13 | * | |
14 | * It has been GENERATED by src/backend/catalog/genbki.pl | |
15 | * | |
16 | *------------------------------------------------------------------------- | |
17 | */ | |
18 | #ifndef PG_INDEX_D_H | |
19 | #define PG_INDEX_D_H | |
20 | ||
21 | 209k | #define IndexRelationId 2610 |
22 | ||
23 | 2.91k | #define Anum_pg_index_indexrelid 1 |
24 | 22.9k | #define Anum_pg_index_indrelid 2 |
25 | 2.98k | #define Anum_pg_index_indnatts 3 |
26 | 2.91k | #define Anum_pg_index_indnkeyatts 4 |
27 | 2.91k | #define Anum_pg_index_indisunique 5 |
28 | 2.91k | #define Anum_pg_index_indisprimary 6 |
29 | 2.91k | #define Anum_pg_index_indisexclusion 7 |
30 | 2.91k | #define Anum_pg_index_indimmediate 8 |
31 | 2.91k | #define Anum_pg_index_indisclustered 9 |
32 | 2.91k | #define Anum_pg_index_indisvalid 10 |
33 | 2.91k | #define Anum_pg_index_indcheckxmin 11 |
34 | 2.91k | #define Anum_pg_index_indisready 12 |
35 | 2.91k | #define Anum_pg_index_indislive 13 |
36 | 2.91k | #define Anum_pg_index_indisreplident 14 |
37 | 2.92k | #define Anum_pg_index_indkey 15 |
38 | 3.23k | #define Anum_pg_index_indcollation 16 |
39 | 3.60k | #define Anum_pg_index_indclass 17 |
40 | 3.10k | #define Anum_pg_index_indoption 18 |
41 | 851k | #define Anum_pg_index_indexprs 19 |
42 | 874k | #define Anum_pg_index_indpred 20 |
43 | ||
44 | 5.60k | #define Natts_pg_index 20 |
45 | ||
46 | ||
47 | /* | |
48 | * Index AMs that support ordered scans must support these two indoption | |
49 | * bits. Otherwise, the content of the per-column indoption fields is | |
50 | * open for future definition. | |
51 | */ | |
52 | 78.6k | #define INDOPTION_DESC 0x0001 /* values are in reverse order */ |
53 | 77.3k | #define INDOPTION_NULLS_FIRST 0x0002 /* NULLs are first instead of last */ |
54 | ||
55 | /* Options for YugaByte-based index */ | |
56 | 263k | #define INDOPTION_HASH 0x0004 /* values are hash-indexed */ |
57 | ||
58 | ||
59 | #endif /* PG_INDEX_D_H */ |