Fix logic error in insert_fsm_page_entry: because compact_fsm_page_list
Tom Lane <tgl@sss.pgh.pa.us>
Fix logic error in insert_fsm_page_entry: because compact_fsm_page_list removes any empty chunks, the chunk previously added won't be there anymore, so it's possible there is zero free space in the rel's page list afterwards. Must loop back and rerun the part that adds a chunk to the list.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/freespace/freespace.c | modified | +46 −51 |