vacuum.c refactoring

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: pgsql-patches(at)postgresql(dot)org
Subject: vacuum.c refactoring
Date: 2004-06-03 10:07:51
Message-ID: 4gstb0du485kb5dlcajluvs8h2vvakr8dh@email.aon.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

. rename variables
. cur_buffer -> dst_buffer
. ToPage -> dst_page
. cur_page -> dst_vacpage
. move variable declarations into block where variable is used
. various Asserts instead of elog(ERROR, ...)
. extract functionality from repair_frag() into new routines
. move_chain_tuple()
. move_plain_tuple()
. update_hint_bits()
. create type ExecContext
. add comments

This patch does not intend to change any behaviour. It passes make
check, make installcheck and some manual tests. It might be hard to
review, because some lines are affected by more than one change. If
it's too much to swallow at once, I can provide it in smaller chunks ...

Servus
Manfred

Attachment Content-Type Size
unknown_filename text/plain 47.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Koizar 2004-06-03 10:08:12 Stylistic changes in bufmgr.c
Previous Message Andreas Pflug 2004-06-03 08:10:10 Re: Compiling libpq with VisualC