]> granicus.if.org Git - postgresql/commit
Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:43:08 +0000 (11:43 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:43:08 +0000 (11:43 +0100)
commit1fa42debe676146f1f3e4809ef42e9a0f300e112
tree41e5c960f3a19449738c6cb08f00653de7de3e86
parent9796882e68367a9259b6d5e84bd0a227b579d586
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