mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Mark functions as static and ifdef NOT_USED as appropriate.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.113 2000/05/30 04:24:35 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.114 2000/06/08 22:36:59 momjian Exp $
|
||||
*
|
||||
*
|
||||
* INTERFACE ROUTINES
|
||||
@@ -75,6 +75,7 @@ static void DefaultBuild(Relation heapRelation, Relation indexRelation,
|
||||
IndexStrategy indexStrategy, uint16 parameterCount,
|
||||
Datum *parameter, FuncIndexInfoPtr funcInfo, PredInfo *predInfo);
|
||||
static Oid IndexGetRelation(Oid indexId);
|
||||
static bool activate_index(Oid indexId, bool activate);
|
||||
|
||||
static bool reindexing = false;
|
||||
extern bool
|
||||
@@ -2044,7 +2045,7 @@ IndexIsUniqueNoCache(Oid indexId)
|
||||
* status per index
|
||||
* ---------------------------------
|
||||
*/
|
||||
bool
|
||||
static bool
|
||||
activate_index(Oid indexId, bool activate)
|
||||
{
|
||||
if (!activate) /* Currently does nothing */
|
||||
|
||||
Reference in New Issue
Block a user