codekingpro/portable-devtools
114k
1/*-------------------------------------------------------------------------
2 *
3 * pg_index_d.h
4 * Macro definitions for pg_index
5 *
6 * Portions Copyright (c) 1996-2023, 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#define IndexIndrelidIndexId 2678
23#define IndexRelidIndexId 2679
24
25#define Anum_pg_index_indexrelid 1
26#define Anum_pg_index_indrelid 2
27#define Anum_pg_index_indnatts 3
28#define Anum_pg_index_indnkeyatts 4
29#define Anum_pg_index_indisunique 5
30#define Anum_pg_index_indnullsnotdistinct 6
31#define Anum_pg_index_indisprimary 7
32#define Anum_pg_index_indisexclusion 8
33#define Anum_pg_index_indimmediate 9
34#define Anum_pg_index_indisclustered 10
35#define Anum_pg_index_indisvalid 11
36#define Anum_pg_index_indcheckxmin 12
37#define Anum_pg_index_indisready 13
38#define Anum_pg_index_indislive 14
39#define Anum_pg_index_indisreplident 15
40#define Anum_pg_index_indkey 16
41#define Anum_pg_index_indcollation 17
42#define Anum_pg_index_indclass 18
43#define Anum_pg_index_indoption 19
44#define Anum_pg_index_indexprs 20
45#define Anum_pg_index_indpred 21
46
47#define Natts_pg_index 21
48
49
50/*
51 * Index AMs that support ordered scans must support these two indoption
52 * bits. Otherwise, the content of the per-column indoption fields is
53 * open for future definition.
54 */
55#define INDOPTION_DESC 0x0001 /* values are in reverse order */
56#define INDOPTION_NULLS_FIRST 0x0002 /* NULLs are first instead of last */
57
58
59#endif /* PG_INDEX_D_H */
60 