pgsql: Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL
Date: 2016-09-09 10:47:51
Message-ID: E1biJLb-00086O-5G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3ed7f54bc46ab2bb39b703b40bc72693c7f1306f

Modified Files
--------------
src/backend/commands/vacuumlazy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2016-09-09 12:12:34 pgsql: Fix corruption of 2PC recovery with subxacts
Previous Message Simon Riggs 2016-09-09 10:47:39 pgsql: Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL