pgsql: Update visibility map in the second phase of vacuum.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update visibility map in the second phase of vacuum.
Date: 2013-02-13 15:53:05
Message-ID: E1U5edt-0002kk-1t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-02-13 16:08:56 Re: [COMMITTERS] pgsql: Add noreturn attributes to some error reporting functions
Previous Message Tom Lane 2013-02-12 18:27:21 Re: pgsql: Create libpgcommon, and move pg_malloc et al to it