aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/cluster.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-12-30 18:42:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-12-30 18:42:17 +0000
commita03c0d93d5a2730f25a3b2738300dacd8ca5e24a (patch)
tree0c1aef0f6bbdfb167b3bb75d5b153cd5710bd196 /src/include/commands/cluster.h
parent2e1f2c3109b43138ef32dbdba09abef7c9c51d5a (diff)
downloadpostgresql-a03c0d93d5a2730f25a3b2738300dacd8ca5e24a.tar.gz
postgresql-a03c0d93d5a2730f25a3b2738300dacd8ca5e24a.zip
Code review for CLUSTER ALL patch. Fix bogus locking, incorrect transaction
stop/start nesting, other infelicities.
Diffstat (limited to 'src/include/commands/cluster.h')
-rw-r--r--src/include/commands/cluster.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h
index c83db667252..7eb11d60b06 100644
--- a/src/include/commands/cluster.h
+++ b/src/include/commands/cluster.h
@@ -6,22 +6,19 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
- * $Id: cluster.h,v 1.17 2002/11/23 04:05:52 momjian Exp $
+ * $Id: cluster.h,v 1.18 2002/12/30 18:42:16 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef CLUSTER_H
#define CLUSTER_H
-#include <nodes/parsenodes.h>
-/*
- * functions
- */
-extern void cluster(ClusterStmt *stmt);
+#include "nodes/parsenodes.h"
+#include "utils/rel.h"
-extern List *get_indexattr_list(Relation OldHeap, Oid OldIndex);
-extern void rebuild_rel(Oid tableOid, Oid indexOid,
- List *indexes, bool dataCopy);
+extern void cluster(ClusterStmt *stmt);
+
+extern void rebuild_relation(Relation OldHeap, Oid indexOid);
#endif /* CLUSTER_H */