#include "catalog/genbki.h"
Go to the source code of this file.
#define Anum_pg_index_indcheckxmin 10 |
Definition at line 82 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indclass 15 |
Definition at line 87 of file pg_index.h.
Referenced by CheckIndexCompatible(), generateClonedIndexStmt(), pg_get_indexdef_worker(), RelationGetIndexList(), RelationInitIndexAccessInfo(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformIndexConstraint(), and UpdateIndexRelation().
#define Anum_pg_index_indcollation 14 |
Definition at line 86 of file pg_index.h.
Referenced by CheckIndexCompatible(), generateClonedIndexStmt(), pg_get_indexdef_worker(), RelationInitIndexAccessInfo(), and UpdateIndexRelation().
#define Anum_pg_index_indexprs 17 |
Definition at line 89 of file pg_index.h.
Referenced by CheckIndexCompatible(), generateClonedIndexStmt(), index_drop(), pg_get_indexdef_worker(), RelationGetIndexExpressions(), transformFkeyCheckAttrs(), and UpdateIndexRelation().
#define Anum_pg_index_indexrelid 1 |
Definition at line 73 of file pg_index.h.
Referenced by sepgsql_index_modify(), and UpdateIndexRelation().
#define Anum_pg_index_indimmediate 7 |
Definition at line 79 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indisclustered 8 |
Definition at line 80 of file pg_index.h.
Referenced by get_tables_to_cluster(), and UpdateIndexRelation().
#define Anum_pg_index_indisexclusion 6 |
Definition at line 78 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indislive 12 |
Definition at line 84 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indisprimary 5 |
Definition at line 77 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indisready 11 |
Definition at line 83 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indisunique 4 |
Definition at line 76 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indisvalid 9 |
Definition at line 81 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indkey 13 |
Definition at line 85 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indnatts 3 |
Definition at line 75 of file pg_index.h.
Referenced by UpdateIndexRelation().
#define Anum_pg_index_indoption 16 |
Definition at line 88 of file pg_index.h.
Referenced by pg_get_indexdef_worker(), RelationInitIndexAccessInfo(), and UpdateIndexRelation().
#define Anum_pg_index_indpred 18 |
Definition at line 90 of file pg_index.h.
Referenced by check_index_is_clusterable(), CheckIndexCompatible(), generateClonedIndexStmt(), pg_get_indexdef_worker(), RelationGetIndexList(), RelationGetIndexPredicate(), transformFkeyCheckAttrs(), and UpdateIndexRelation().
#define Anum_pg_index_indrelid 2 |
Definition at line 74 of file pg_index.h.
Referenced by get_pkey_attnames(), RelationGetIndexList(), sepgsql_index_modify(), and UpdateIndexRelation().
#define IndexIsLive | ( | indexForm | ) | ((indexForm)->indislive) |
Definition at line 107 of file pg_index.h.
Referenced by RelationGetIndexList().
#define IndexIsReady | ( | indexForm | ) | ((indexForm)->indisready) |
Definition at line 106 of file pg_index.h.
Referenced by BuildIndexInfo(), and vac_open_indexes().
#define IndexIsValid | ( | indexForm | ) | ((indexForm)->indisvalid) |
Definition at line 105 of file pg_index.h.
Referenced by check_index_is_clusterable(), CheckIndexCompatible(), get_relation_info(), mark_index_clustered(), RelationGetIndexList(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformIndexConstraint(), and triggered_change_notification().
#define IndexRelationId 2610 |
Definition at line 29 of file pg_index.h.
Referenced by CacheInvalidateHeapTuple(), get_pkey_attnames(), get_tables_to_cluster(), index_build(), index_constraint_create(), index_drop(), index_set_state_flags(), mark_index_clustered(), reindex_index(), RelationCacheInitializePhase3(), RelationGetIndexList(), sepgsql_index_modify(), and UpdateIndexRelation().
#define INDOPTION_DESC 0x0001 |
Definition at line 97 of file pg_index.h.
Referenced by _bt_preprocess_array_keys(), generateClonedIndexStmt(), and pg_get_indexdef_worker().
#define INDOPTION_NULLS_FIRST 0x0002 |
Definition at line 98 of file pg_index.h.
Referenced by generateClonedIndexStmt(), and pg_get_indexdef_worker().
#define Natts_pg_index 18 |
Definition at line 72 of file pg_index.h.
Referenced by GetPgIndexDescriptor().
typedef FormData_pg_index* Form_pg_index |
Definition at line 66 of file pg_index.h.
CATALOG | ( | pg_index | , | |
2610 | ||||
) |
Definition at line 31 of file pg_index.h.
{ Oid indexrelid; /* OID of the index */ Oid indrelid; /* OID of the relation it indexes */ int16 indnatts; /* number of columns in index */ bool indisunique; /* is this a unique index? */ bool indisprimary; /* is this index for primary key? */ bool indisexclusion; /* is this index for exclusion constraint? */ bool indimmediate; /* is uniqueness enforced immediately? */ bool indisclustered; /* is this the index last clustered by? */ bool indisvalid; /* is this index valid for use by queries? */ bool indcheckxmin; /* must we wait for xmin to be old? */ bool indisready; /* is this index ready for inserts? */ bool indislive; /* is this index alive at all? */ /* variable-length fields start here, but we allow direct access to indkey */ int2vector indkey; /* column numbers of indexed cols, or 0 */ #ifdef CATALOG_VARLEN oidvector indcollation; /* collation identifiers */ oidvector indclass; /* opclass identifiers */ int2vector indoption; /* per-column flags (AM-specific meanings) */ pg_node_tree indexprs; /* expression trees for index attributes that * are not simple column references; one for * each zero entry in indkey[] */ pg_node_tree indpred; /* expression tree for predicate, if a partial * index; else NULL */ #endif } FormData_pg_index;
Definition at line 59 of file pg_index.h.