mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Mark functions as static and ifdef NOT_USED as appropriate.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: istrat.h,v 1.16 2000/01/26 05:57:50 momjian Exp $
|
||||
* $Id: istrat.h,v 1.17 2000/06/08 22:37:36 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -55,9 +55,6 @@ extern Size AttributeNumberGetIndexStrategySize(AttrNumber maxAttributeNumber,
|
||||
extern StrategyNumber RelationGetStrategy(Relation relation,
|
||||
AttrNumber attributeNumber, StrategyEvaluation evaluation,
|
||||
RegProcedure procedure);
|
||||
extern bool RelationInvokeStrategy(Relation relation,
|
||||
StrategyEvaluation evaluation, AttrNumber attributeNumber,
|
||||
StrategyNumber strategy, Datum left, Datum right);
|
||||
extern void IndexSupportInitialize(IndexStrategy indexStrategy,
|
||||
RegProcedure *indexSupport, Oid indexObjectId,
|
||||
Oid accessMethodObjectId, StrategyNumber maxStrategyNumber,
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: nbtree.h,v 1.35 2000/04/12 17:16:26 momjian Exp $
|
||||
* $Id: nbtree.h,v 1.36 2000/06/08 22:37:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -205,8 +205,6 @@ typedef struct BTPageState
|
||||
*/
|
||||
extern InsertIndexResult _bt_doinsert(Relation rel, BTItem btitem,
|
||||
bool index_is_unique, Relation heapRel);
|
||||
extern int32 _bt_tuplecompare(Relation rel, Size keysz, ScanKey scankey,
|
||||
IndexTuple tuple1, IndexTuple tuple2);
|
||||
extern bool _bt_itemcmp(Relation rel, Size keysz, ScanKey scankey,
|
||||
BTItem item1, BTItem item2, StrategyNumber strat);
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: xact.h,v 1.25 2000/06/05 07:28:57 tgl Exp $
|
||||
* $Id: xact.h,v 1.26 2000/06/08 22:37:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -102,7 +102,6 @@ extern bool CommandIdIsCurrentCommandId(CommandId cid);
|
||||
extern bool CommandIdGEScanCommandId(CommandId cid);
|
||||
extern void CommandCounterIncrement(void);
|
||||
extern void InitializeTransactionSystem(void);
|
||||
extern bool CurrentXactInProgress(void);
|
||||
extern void StartTransactionCommand(void);
|
||||
extern void CommitTransactionCommand(void);
|
||||
extern void AbortCurrentTransaction(void);
|
||||
|
Reference in New Issue
Block a user