summaryrefslogtreecommitdiff
path: root/src/include/catalog/heap.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-05-11 09:46:42 -0400
committerRobert Haas <rhaas@postgresql.org>2012-05-11 09:48:56 -0400
commit1331cc6c1ad2beba7985523508d6722dc865c337 (patch)
tree0c7023676e5bb74bff05af1b168822f907d9851f /src/include/catalog/heap.h
parentb762e8f50b3edefc0b8597dda46a18dc5e22b056 (diff)
downloadpostgresql-1331cc6c1ad2beba7985523508d6722dc865c337.tar.gz
Prevent loss of init fork when truncating an unlogged table.
Fixes bug #6635, reported by Akira Kurosawa.
Diffstat (limited to 'src/include/catalog/heap.h')
-rw-r--r--src/include/catalog/heap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h
index c0deab73ae..bc98d5d6fc 100644
--- a/src/include/catalog/heap.h
+++ b/src/include/catalog/heap.h
@@ -69,6 +69,8 @@ extern Oid heap_create_with_catalog(const char *relname,
bool use_user_acl,
bool allow_system_table_mods);
+extern void heap_create_init_fork(Relation rel);
+
extern void heap_drop_with_catalog(Oid relid);
extern void heap_truncate(List *relids);