1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

Prevent loss of init fork when truncating an unlogged table.

Fixes bug #6635, reported by Akira Kurosawa.
This commit is contained in:
Robert Haas
2012-05-11 09:46:42 -04:00
parent b762e8f50b
commit 1331cc6c1a
3 changed files with 23 additions and 15 deletions

View File

@@ -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);