Re: [PERFORM] autovacuum daemon stops doing work after about an hour - Mailing list pgsql-hackers

From Vivek Khera
Subject Re: [PERFORM] autovacuum daemon stops doing work after about an hour
Date
Msg-id 16335.42369.252957.290956@yertle.int.kciLink.com
Whole thread Raw
List pgsql-hackers
Actually, you can simplify the fix thusly:

  diff = (long long)(now.tv_sec - then.tv_sec) * 1000000 + (now.tv_usec - then.tv_usec);


pgsql-hackers by date:

Previous
From: david@fetter.org (David Fetter)
Date:
Subject: Re: Inside the Regex Engine
Next
From: Vivek Khera
Date:
Subject: Re: [PERFORM] autovacuum daemon stops doing work after about an hour