Rearrange lazy-vacuum code a little bit to reduce the window between

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 95289e4a58b45ff1ae21ca379625be39c454e22e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-02-09T00:28:30Z
Releases: 9.0.0
Rearrange lazy-vacuum code a little bit to reduce the window between
truncating the table and transaction commit.  This isn't really making
it safe, but at least there is no good reason to do free space map
cleanup within the risk window.  Don't lock out cancel interrupts
until we have to, either.

Files

PathChange+/−
src/backend/commands/vacuumlazy.c modified +37 −27