Prevent loss of init fork when truncating an unlogged table.

Robert Haas <rhaas@postgresql.org>

Commit: 1331cc6c1ad2beba7985523508d6722dc865c337
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-05-11T13:48:56Z
Releases: 9.2.0
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