diff options
Diffstat (limited to 'src/include/catalog/index.h')
-rw-r--r-- | src/include/catalog/index.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/include/catalog/index.h b/src/include/catalog/index.h index 9f2f6826d64..1667b75091d 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.9 1998/01/24 22:48:22 momjian Exp $ + * $Id: index.h,v 1.10 1998/02/26 04:40:40 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,15 +18,17 @@ #include <access/itup.h> #include <access/funcindex.h> -extern Form_pg_am AccessMethodObjectIdGetAccessMethodTupleForm(Oid accessMethodObjectId); +extern Form_pg_am AccessMethodObjectIdGetAccessMethodTupleForm(Oid accessMethodObjectId); extern void UpdateIndexPredicate(Oid indexoid, Node *oldPred, Node *predicate); -extern void InitIndexStrategy(int numatts, +extern void +InitIndexStrategy(int numatts, Relation indexRelation, Oid accessMethodObjectId); -extern void index_create(char *heapRelationName, +extern void +index_create(char *heapRelationName, char *indexRelationName, FuncIndexInfo *funcInfo, List *attributeList, @@ -42,17 +44,20 @@ extern void index_create(char *heapRelationName, extern void index_destroy(Oid indexId); -extern void FormIndexDatum(int numberOfAttributes, +extern void +FormIndexDatum(int numberOfAttributes, AttrNumber attributeNumber[], HeapTuple heapTuple, TupleDesc heapDescriptor, Buffer buffer, Datum *datum, char *nullv, FuncIndexInfoPtr fInfo); extern void UpdateStats(Oid relid, long reltuples, bool hasindex); -extern void FillDummyExprContext(ExprContext *econtext, TupleTableSlot *slot, +extern void +FillDummyExprContext(ExprContext *econtext, TupleTableSlot *slot, TupleDesc tupdesc, Buffer buffer); -extern void index_build(Relation heapRelation, Relation indexRelation, +extern void +index_build(Relation heapRelation, Relation indexRelation, int numberOfAttributes, AttrNumber attributeNumber[], uint16 parameterCount, Datum *parameter, FuncIndexInfo *funcInfo, PredInfo *predInfo); |