Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / commands / cluster.h
blobf6e8763643ec1a0e8bd5a6eb5f4cca01eaed431b
1 /*-------------------------------------------------------------------------
3 * cluster.h
4 * header file for postgres cluster command stuff
6 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994-5, Regents of the University of California
9 * $PostgreSQL$
11 *-------------------------------------------------------------------------
13 #ifndef CLUSTER_H
14 #define CLUSTER_H
16 #include "nodes/parsenodes.h"
17 #include "utils/relcache.h"
20 extern void cluster(ClusterStmt *stmt, bool isTopLevel);
22 extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid,
23 bool recheck);
24 extern void mark_index_clustered(Relation rel, Oid indexOid);
25 extern Oid make_new_heap(Oid OIDOldHeap, const char *NewName,
26 Oid NewTableSpace);
27 extern void swap_relation_files(Oid r1, Oid r2, TransactionId frozenXid);
29 #endif /* CLUSTER_H */