OSDN Git Service

Rearrange lazy-vacuum code a little bit to reduce the window between
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Feb 2010 00:28:30 +0000 (00:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Feb 2010 00:28:30 +0000 (00:28 +0000)
commit95289e4a58b45ff1ae21ca379625be39c454e22e
tree4839b9bf1856eb8b9fa8760009d13ee8ed52dcc5
parentd5768dce10576c2fb1254c03fb29475d4fac6bb4
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.
src/backend/commands/vacuumlazy.c