diff options
Diffstat (limited to 'src/include/utils')
-rw-r--r-- | src/include/utils/rel.h | 12 | ||||
-rw-r--r-- | src/include/utils/relcache.h | 3 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index bc20950cc8a..ff0a3ea45cd 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -110,12 +110,10 @@ typedef struct RelationData List *rd_statlist; /* list of OIDs of extended stats */ /* data managed by RelationGetIndexAttrBitmap: */ - Bitmapset *rd_indexattr; /* columns used in non-projection indexes */ - Bitmapset *rd_projindexattr; /* columns used in projection indexes */ + Bitmapset *rd_indexattr; /* identifies columns used in indexes */ Bitmapset *rd_keyattr; /* cols that can be ref'd by foreign keys */ Bitmapset *rd_pkattr; /* cols included in primary key */ Bitmapset *rd_idattr; /* included in replica identity index */ - Bitmapset *rd_projidx; /* Oids of projection indexes */ PublicationActions *rd_pubactions; /* publication actions */ @@ -217,14 +215,6 @@ typedef struct ForeignKeyCacheInfo Oid conpfeqop[INDEX_MAX_KEYS]; /* PK = FK operator OIDs */ } ForeignKeyCacheInfo; -/* - * Options common for all indexes - */ -typedef struct GenericIndexOpts -{ - int32 vl_len_; - bool recheck_on_update; -} GenericIndexOpts; /* * StdRdOptions diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h index 3135d06c18f..a80e335374d 100644 --- a/src/include/utils/relcache.h +++ b/src/include/utils/relcache.h @@ -52,8 +52,7 @@ extern List *RelationGetIndexPredicate(Relation relation); typedef enum IndexAttrBitmapKind { - INDEX_ATTR_BITMAP_HOT, - INDEX_ATTR_BITMAP_PROJ, + INDEX_ATTR_BITMAP_ALL, INDEX_ATTR_BITMAP_KEY, INDEX_ATTR_BITMAP_PRIMARY_KEY, INDEX_ATTR_BITMAP_IDENTITY_KEY |