Thread: pgsql: Prevent loss of init fork when truncating an unlogged table.

pgsql: Prevent loss of init fork when truncating an unlogged table.

From
Robert Haas
Date:
Prevent loss of init fork when truncating an unlogged table.

Fixes bug #6635, reported by Akira Kurosawa.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1331cc6c1ad2beba7985523508d6722dc865c337

Modified Files
--------------
src/backend/catalog/heap.c       |   32 +++++++++++++++++---------------
src/backend/commands/tablecmds.c |    4 ++++
src/include/catalog/heap.h       |    2 ++
3 files changed, 23 insertions(+), 15 deletions(-)