summaryrefslogtreecommitdiff
path: root/src/include/commands/cluster.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-01-20 22:44:10 -0500
committerRobert Haas <rhaas@postgresql.org>2011-01-20 22:48:29 -0500
commit39b5e5f3370258cae843e8cc83eccd59ddb532dd (patch)
tree54a4bcee6167e5051a32bd634e9da668ca760c8a /src/include/commands/cluster.h
parentba3afc88d2b81fc609cda8504ee7b54c54b379d7 (diff)
Make ALTER TABLE revalidate uniqueness and exclusion constraints.
Failure to do so can lead to constraint violations. This was broken by commit 1ddc2703a936d03953657f43345460b9242bbed1 on 2010-02-07, so back-patch to 9.0. Noah Misch. Regression test by me.
Diffstat (limited to 'src/include/commands/cluster.h')
-rw-r--r--src/include/commands/cluster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h
index ed3853af24c..a5aeb1aa103 100644
--- a/src/include/commands/cluster.h
+++ b/src/include/commands/cluster.h
@@ -28,6 +28,7 @@ extern Oid make_new_heap(Oid OIDOldHeap, Oid NewTableSpace);
extern void finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
bool is_system_catalog,
bool swap_toast_by_content,
+ bool check_constraints,
TransactionId frozenXid);
#endif /* CLUSTER_H */