1/*-------------------------------------------------------------------------
2 *
3 * pg_index_d.h
4 * Macro definitions for pg_index
5 *
6 * Portions Copyright (c) 1996-2019, 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#define IndexRelationId 2610
22
23#define Anum_pg_index_indexrelid 1
24#define Anum_pg_index_indrelid 2
25#define Anum_pg_index_indnatts 3
26#define Anum_pg_index_indnkeyatts 4
27#define Anum_pg_index_indisunique 5
28#define Anum_pg_index_indisprimary 6
29#define Anum_pg_index_indisexclusion 7
30#define Anum_pg_index_indimmediate 8
31#define Anum_pg_index_indisclustered 9
32#define Anum_pg_index_indisvalid 10
33#define Anum_pg_index_indcheckxmin 11
34#define Anum_pg_index_indisready 12
35#define Anum_pg_index_indislive 13
36#define Anum_pg_index_indisreplident 14
37#define Anum_pg_index_indkey 15
38#define Anum_pg_index_indcollation 16
39#define Anum_pg_index_indclass 17
40#define Anum_pg_index_indoption 18
41#define Anum_pg_index_indexprs 19
42#define Anum_pg_index_indpred 20
43
44#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#define INDOPTION_DESC 0x0001 /* values are in reverse order */
53#define INDOPTION_NULLS_FIRST 0x0002 /* NULLs are first instead of last */
54
55
56#endif /* PG_INDEX_D_H */
57