summaryrefslogtreecommitdiff
path: root/src/include/catalog/heap.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-03-03 03:30:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-03-03 03:30:54 +0000
commit984a6ced3ece409e97b74ce163297b8193eeeb6c (patch)
treec6c3ad8b3166d3bc492d7a22b89a1ba13d51d1a1 /src/include/catalog/heap.h
parent2a0ba3f8ddd0d58288fe1d146af4ca57fd82dc45 (diff)
downloadpostgresql-984a6ced3ece409e97b74ce163297b8193eeeb6c.tar.gz
Add CASCADE option to TRUNCATE. Joachim Wieland
Diffstat (limited to 'src/include/catalog/heap.h')
-rw-r--r--src/include/catalog/heap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h
index 9cb4c5351a..09516ed021 100644
--- a/src/include/catalog/heap.h
+++ b/src/include/catalog/heap.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.76 2005/10/15 02:49:42 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.77 2006/03/03 03:30:53 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -62,6 +62,8 @@ extern void heap_truncate(List *relids);
extern void heap_truncate_check_FKs(List *relations, bool tempTables);
+extern List *heap_truncate_find_FKs(List *relationIds);
+
extern List *AddRelationRawConstraints(Relation rel,
List *rawColDefaults,
List *rawConstraints);