1 /*-------------------------------------------------------------------------
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
11 *-------------------------------------------------------------------------
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
,
24 extern void mark_index_clustered(Relation rel
, Oid indexOid
);
25 extern Oid
make_new_heap(Oid OIDOldHeap
, const char *NewName
,
27 extern void swap_relation_files(Oid r1
, Oid r2
, TransactionId frozenXid
);
29 #endif /* CLUSTER_H */