From 1c53c4dec3985512f7f2f53c9d76a5295cd0a2dd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 15 Jan 2019 12:07:10 -0500 Subject: Finish reverting "recheck_on_update" patch. This reverts commit c203d6cf8 and some follow-on fixes, completing the task begun in commit 5d28c9bd7. If that feature is ever resurrected, the code will look quite a bit different from this, so it seems best to start from a clean slate. The v11 branch is not touched; in that branch, the recheck_on_update storage option remains present, but nonfunctional and undocumented. Discussion: https://postgr.es/m/20190114223409.3tcvejfhlvbucrv5@alap3.anarazel.de --- src/include/utils/rel.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/include/utils/rel.h') 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 -- cgit v1.2.3