Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2312e20fb9781cab27656a5543e0cff8651883b7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-11-26T20:50:26Z
Releases: 7.4.1
Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.
Ward's report that it can still happen in RC2 forces me to realize that
this is not a can't-happen condition after all, and that the compaction
code had better cope rather than panicking.

Files

PathChange+/−
src/backend/storage/freespace/freespace.c modified +47 −17