Prevent loss of init fork when truncating an unlogged table.

Robert Haas <rhaas@postgresql.org>

Commit: 2ca6bac892aa650154f591c730359a968bea726a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-05-11T13:48:54Z
Releases: 9.1.4
Prevent loss of init fork when truncating an unlogged table.

Fixes bug #6635, reported by Akira Kurosawa.

Files

PathChange+/−
src/backend/catalog/heap.c modified +17 −15
src/backend/commands/tablecmds.c modified +4 −0
src/include/catalog/heap.h modified +2 −0