summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-23 00:42:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-23 00:42:48 +0000
commitbc1088c28ada76477bcbb51087c95fcc0b49842c (patch)
treed6b80a46bcd2b513467d46d9f17f0a0f60163924 /src/include
parentdf3e7b3a51906beb672e677844daf9097dfc8dd7 (diff)
Get rid of bogus use of heap_mark4update in reindex operations (cf.
recent bug report). Fix processing of nailed-in-cache indexes; it appears that REINDEX DATABASE has been broken for months :-(.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/index.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/catalog/index.h b/src/include/catalog/index.h
index 738f1079dc2..eb4e5f8814b 100644
--- a/src/include/catalog/index.h
+++ b/src/include/catalog/index.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: index.h,v 1.49 2002/07/12 18:43:19 tgl Exp $
+ * $Id: index.h,v 1.50 2002/09/23 00:42:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -50,7 +50,7 @@ extern void FormIndexDatum(IndexInfo *indexInfo,
char *nullv);
extern void UpdateStats(Oid relid, double reltuples);
-extern bool IndexesAreActive(Oid relid, bool comfirmCommitted);
+extern bool IndexesAreActive(Relation heaprel);
extern void setRelhasindex(Oid relid, bool hasindex,
bool isprimary, Oid reltoastidxid);
@@ -68,8 +68,9 @@ extern double IndexBuildHeapScan(Relation heapRelation,
IndexBuildCallback callback,
void *callback_state);
+extern bool activate_indexes_of_a_table(Relation heaprel, bool activate);
+
extern bool reindex_index(Oid indexId, bool force, bool inplace);
-extern bool activate_indexes_of_a_table(Oid relid, bool activate);
extern bool reindex_relation(Oid relid, bool force);
#endif /* INDEX_H */