mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user