pgsql: Update visibility map in the second phase of vacuum. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Update visibility map in the second phase of vacuum.
Date
Msg-id E1U5edt-0002kk-1t@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Update visibility map in the second phase of vacuum.

There's a high chance that a page becomes all-visible when the second phase
of vacuum removes all the dead tuples on it, so it makes sense to check for
that. Otherwise the visibility map won't get updated until the next vacuum.

Pavan Deolasee, reviewed by Jeff Janes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fdf9e21196a6f58c6021c967dc5776a16190f295

Modified Files
--------------
src/backend/commands/vacuumlazy.c |  133 +++++++++++++++++++++++++++++++++++-
1 files changed, 129 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Create libpgcommon, and move pg_malloc et al to it
Next
From: Tom Lane
Date:
Subject: pgsql: Fix bogus when-to-deregister-from-listener-array logic.