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