]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:46:03 +0000 (11:46 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 9 Sep 2016 10:46:03 +0000 (11:46 +0100)
commit3ed7f54bc46ab2bb39b703b40bc72693c7f1306f
tree7a669b7678b5957cbf9c63dc64c62788b2b63af2
parent08fdfe7a8a2f7516172a0d89b678a1b6c21c5afb
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