Prevent loss of init fork when truncating an unlogged table.
Robert Haas <rhaas@postgresql.org>
Prevent loss of init fork when truncating an unlogged table. Fixes bug #6635, reported by Akira Kurosawa.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +17 −15 |
| src/backend/commands/tablecmds.c | modified | +4 −0 |
| src/include/catalog/heap.h | modified | +2 −0 |