1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * pg_am_d.h |
4 | * Macro definitions for pg_am |
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_AM_D_H |
19 | #define PG_AM_D_H |
20 | |
21 | #define AccessMethodRelationId 2601 |
22 | |
23 | #define Anum_pg_am_oid 1 |
24 | #define Anum_pg_am_amname 2 |
25 | #define Anum_pg_am_amhandler 3 |
26 | #define Anum_pg_am_amtype 4 |
27 | |
28 | #define Natts_pg_am 4 |
29 | |
30 | |
31 | /* |
32 | * Allowed values for amtype |
33 | */ |
34 | #define AMTYPE_INDEX 'i' /* index access method */ |
35 | #define AMTYPE_TABLE 't' /* table access method */ |
36 | |
37 | #define HEAP_TABLE_AM_OID 2 |
38 | #define BTREE_AM_OID 403 |
39 | #define HASH_AM_OID 405 |
40 | #define GIST_AM_OID 783 |
41 | #define GIN_AM_OID 2742 |
42 | #define SPGIST_AM_OID 4000 |
43 | #define BRIN_AM_OID 3580 |
44 | |
45 | #endif /* PG_AM_D_H */ |
46 | |