~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/include/commands/cluster.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * cluster.h
 
4
 *        header file for postgres cluster command stuff
 
5
 *
 
6
 * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
 
7
 * Portions Copyright (c) 1994-5, Regents of the University of California
 
8
 *
 
9
 * $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.27 2004-12-31 22:03:28 pgsql Exp $
 
10
 *
 
11
 *-------------------------------------------------------------------------
 
12
 */
 
13
#ifndef CLUSTER_H
 
14
#define CLUSTER_H
 
15
 
 
16
#include "nodes/parsenodes.h"
 
17
#include "utils/rel.h"
 
18
 
 
19
 
 
20
extern void cluster(ClusterStmt *stmt);
 
21
 
 
22
extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid);
 
23
extern void mark_index_clustered(Relation rel, Oid indexOid);
 
24
extern Oid make_new_heap(Oid OIDOldHeap, const char *NewName,
 
25
                          Oid NewTableSpace);
 
26
extern void swap_relation_files(Oid r1, Oid r2);
 
27
 
 
28
#endif   /* CLUSTER_H */