pgsql: Refactor page compactifying code.
pgsql: Refactor page compactifying code.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/809d9a260b5d068a6a366273cd724bf9b396b026 Modified Files -------------- src/backend/storage/page/bufpage.c | 130 +++++++++++++++--------------------- 1 file changed, 53 insertions(+), 77 deletions(-)