summaryrefslogtreecommitdiffstats
path: root/src/backend/catalog/pg_index_d.h
blob: 1716a3f1ada2937a9a365cc27d50e4933727b308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*-------------------------------------------------------------------------
 *
 * pg_index_d.h
 *    Macro definitions for pg_index
 *
 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * NOTES
 *  ******************************
 *  *** DO NOT EDIT THIS FILE! ***
 *  ******************************
 *
 *  It has been GENERATED by src/backend/catalog/genbki.pl
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_INDEX_D_H
#define PG_INDEX_D_H

#define IndexRelationId 2610
#define IndexIndrelidIndexId 2678
#define IndexRelidIndexId 2679

#define Anum_pg_index_indexrelid 1
#define Anum_pg_index_indrelid 2
#define Anum_pg_index_indnatts 3
#define Anum_pg_index_indnkeyatts 4
#define Anum_pg_index_indisunique 5
#define Anum_pg_index_indnullsnotdistinct 6
#define Anum_pg_index_indisprimary 7
#define Anum_pg_index_indisexclusion 8
#define Anum_pg_index_indimmediate 9
#define Anum_pg_index_indisclustered 10
#define Anum_pg_index_indisvalid 11
#define Anum_pg_index_indcheckxmin 12
#define Anum_pg_index_indisready 13
#define Anum_pg_index_indislive 14
#define Anum_pg_index_indisreplident 15
#define Anum_pg_index_indkey 16
#define Anum_pg_index_indcollation 17
#define Anum_pg_index_indclass 18
#define Anum_pg_index_indoption 19
#define Anum_pg_index_indexprs 20
#define Anum_pg_index_indpred 21

#define Natts_pg_index 21


/*
 * Index AMs that support ordered scans must support these two indoption
 * bits.  Otherwise, the content of the per-column indoption fields is
 * open for future definition.
 */
#define INDOPTION_DESC			0x0001	/* values are in reverse order */
#define INDOPTION_NULLS_FIRST	0x0002	/* NULLs are first instead of last */


#endif							/* PG_INDEX_D_H */