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

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent loss of init fork when truncating an unlogged table.
Date: 2012-05-11 13:49:42
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

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(-)