aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/cluster.h
blob: c83db667252907a52d774bb0894e9055c73d6c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*-------------------------------------------------------------------------
 *
 * cluster.h
 *	  header file for postgres cluster command stuff
 *
 * 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 $
 *
 *-------------------------------------------------------------------------
 */
#ifndef CLUSTER_H
#define CLUSTER_H

#include <nodes/parsenodes.h>
/*
 * functions
 */
extern void cluster(ClusterStmt *stmt);

extern List *get_indexattr_list(Relation OldHeap, Oid OldIndex);
extern void rebuild_rel(Oid tableOid, Oid indexOid,
					    List *indexes, bool dataCopy);


#endif   /* CLUSTER_H */