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.
Showing
Please register or sign in to comment