Fix crash in CREATE UNLOGGED TABLE.
The code that created the init fork neglected to make sure that the
relation was open at the smgr level before attempting to invoke smgr.
This didn't happen every time; only when the relcache entry was rebuilt
along the way.
Per report from Garick Hamlin.
src/backend/catalog/heap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
pgsql-committers by date
|Next:||From: Robert Haas||Date: 2011-06-17 18:37:26|
|Subject: pgsql: Add overflow checks to int4 and int8 versions ofgenerate_series|
|Previous:||From: Robert Haas||Date: 2011-06-17 13:14:54|
|Subject: pgsql: Fix minor thinko in ProcGlobalShmemSize().|