Refactor page compactifying code.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 809d9a260b5d068a6a366273cd724bf9b396b026
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-02-03T12:09:29Z
Releases: 9.5.0
Refactor page compactifying code.

The logic to compact away removed tuples from page was duplicated with
small differences in PageRepairFragmentation, PageIndexMultiDelete, and
PageIndexDeleteNoCompact. Put it into a common function.

Reviewed by Peter Geoghegan.

Files

PathChange+/−
src/backend/storage/page/bufpage.c modified +53 −77