diff options
Diffstat (limited to 'src/backend/access/index')
-rw-r--r-- | src/backend/access/index/genam.c | 4 | ||||
-rw-r--r-- | src/backend/access/index/indexam.c | 8 | ||||
-rw-r--r-- | src/backend/access/index/istrat.c | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c index 59e2cb1b546..d4de9582187 100644 --- a/src/backend/access/index/genam.c +++ b/src/backend/access/index/genam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.13 1998/08/19 02:01:09 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.14 1998/09/01 03:21:07 momjian Exp $ * * NOTES * many of the old access method routines have been turned into @@ -123,7 +123,7 @@ RelationGetIndexScan(Relation relation, index_rescan(scan, scanFromEnd, key); - return (scan); + return scan; } #ifdef NOT_USED diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 3f3721341ac..fdfbddde91b 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.23 1998/08/19 02:01:10 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.24 1998/09/01 03:21:09 momjian Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relationId @@ -207,7 +207,7 @@ index_insert(Relation relation, * ---------------- */ - return (specificResult); + return specificResult; } /* ---------------- @@ -366,14 +366,14 @@ index_getprocid(Relation irel, Assert(loc != NULL); - return (loc[(natts * (procnum - 1)) + (attnum - 1)]); + return loc[(natts * (procnum - 1)) + (attnum - 1)]; } Datum GetIndexValue(HeapTuple tuple, TupleDesc hTupDesc, int attOff, - AttrNumber attrNums[], + AttrNumber *attrNums, FuncIndexInfo *fInfo, bool *attNull) { diff --git a/src/backend/access/index/istrat.c b/src/backend/access/index/istrat.c index b4c6117069a..b92faa655f3 100644 --- a/src/backend/access/index/istrat.c +++ b/src/backend/access/index/istrat.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.26 1998/08/19 02:01:11 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.27 1998/09/01 03:21:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -74,7 +74,7 @@ StrategyMapGetScanKeyEntry(StrategyMap map, { Assert(StrategyMapIsValid(map)); Assert(StrategyNumberIsValid(strategyNumber)); - return (&map->entry[strategyNumber - 1]); + return &map->entry[strategyNumber - 1]; } /* @@ -515,7 +515,7 @@ OperatorRelationFillScanKeyEntry(Relation operatorRelation, } entry->sk_flags = 0; - entry->sk_procedure = ((OperatorTupleForm) GETSTRUCT(tuple))->oprcode; + entry->sk_procedure = ((Form_pg_operator) GETSTRUCT(tuple))->oprcode; fmgr_info(entry->sk_procedure, &entry->sk_func); entry->sk_nargs = entry->sk_func.fn_nargs; @@ -578,13 +578,13 @@ IndexSupportInitialize(IndexStrategy indexStrategy, /* * XXX note that the following assumes the INDEX tuple is well formed - * and that the key[] and class[] are 0 terminated. + * and that the *key and *class are 0 terminated. */ for (attributeIndex = 0; attributeIndex < maxAttributeNumber; attributeIndex++) { - IndexTupleForm iform; + Form_pg_index iform; - iform = (IndexTupleForm) GETSTRUCT(tuple); + iform = (Form_pg_index) GETSTRUCT(tuple); if (!OidIsValid(iform->indkey[attributeIndex])) { |