]> granicus.if.org Git - postgresql/commit
Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:45:40 +0000 (11:45 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:45:40 +0000 (11:45 +0100)
commiteaf6fe7fae390735ddeb9c9bbdebc54918fb416b
tree94abcdd3a37f628b747f50147404d0302e544754
parentf5462dedb70417f57e76b4f90d68d7d099e5b046
Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL

lazy_truncate_heap() was waiting for
VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL, but in microseconds
not milliseconds as originally intended.

Found by code inspection.

Simon Riggs
src/backend/commands/vacuumlazy.c