]> granicus.if.org Git - postgresql/commit
Update visibility map in the second phase of vacuum.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Feb 2013 15:46:23 +0000 (17:46 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Feb 2013 15:52:10 +0000 (17:52 +0200)
commitfdf9e21196a6f58c6021c967dc5776a16190f295
tree665637ed52364a472ad0f1946cb2d43a90c9f95a
parent0e81ddde2c62ada7f818114ca961d80d42370e32
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.
src/backend/commands/vacuumlazy.c