summaryrefslogtreecommitdiff
path: root/src/include/catalog/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/catalog/index.h')
-rw-r--r--src/include/catalog/index.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/catalog/index.h b/src/include/catalog/index.h
index e4497c616d..d5d5f8e55e 100644
--- a/src/include/catalog/index.h
+++ b/src/include/catalog/index.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: index.h,v 1.3 1996/11/05 08:18:24 scrappy Exp $
+ * $Id: index.h,v 1.4 1996/11/13 20:50:49 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -39,7 +39,8 @@ extern void index_create(char *heapRelationName,
uint16 parameterCount,
Datum *parameter,
Node *predicate,
- bool islossy);
+ bool islossy,
+ bool unique);
extern void index_destroy(Oid indexId);
@@ -58,4 +59,7 @@ extern void index_build(Relation heapRelation, Relation indexRelation,
uint16 parameterCount, Datum *parameter, FuncIndexInfo *funcInfo,
PredInfo *predInfo);
+extern bool IndexIsUnique(Oid indexId);
+extern bool IndexIsUniqueNoCache(Oid indexId);
+
#endif /* INDEX_H */