From: Andrew Dunstan Date: Mon, 13 Apr 2009 15:15:35 +0000 (+0000) Subject: truncate dashboard instead of deleting, to avoid dead rows X-Git-Url: https://git.exim.org/buildfarm-server.git/commitdiff_plain/2c084dd5486f92cfee50ca4a078fc0342e9bf107?ds=sidebyside truncate dashboard instead of deleting, to avoid dead rows --- diff --git a/cgi-bin/pgstatus.pl b/cgi-bin/pgstatus.pl index 614fcf3..603e15f 100755 --- a/cgi-bin/pgstatus.pl +++ b/cgi-bin/pgstatus.pl @@ -324,7 +324,7 @@ $sth->finish; $db->begin_work; -$db->do("delete from dashboard_mat"); +$db->do("truncate dashboard_mat"); $db->do("insert into dashboard_mat select * from dashboard_mat_data"); $db->commit;