OSDN Git Service

Fix logic error in insert_fsm_page_entry: because compact_fsm_page_list
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Jan 2002 15:31:43 +0000 (15:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Jan 2002 15:31:43 +0000 (15:31 +0000)
commit386f1809a7db5c4d610ea8ba7cd702e699f1b4a9
treeef7e75447763aed9d2b9812feed8407f5723fdb2
parentcf77a2a034d68b05c3f6c12d4bc5dc6e51da1d73
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.
src/backend/storage/freespace/freespace.c