Re: Auto-vacuum is not running in 9.1.12 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Auto-vacuum is not running in 9.1.12
Date
Msg-id 3044.1434576163@sss.pgh.pa.us
Whole thread Raw
In response to Re: Auto-vacuum is not running in 9.1.12  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Auto-vacuum is not running in 9.1.12  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Yeah, the case is pretty weird and I'm not really sure that the server
> ought to be expected to behave.  But if this is actually the only part
> of the server that misbehaves because of sudden gigantic time jumps, I
> think it's fair to patch it.  Here's a proposed patch.

I think the parenthetical bit in the comment should read "plus any
fractional second, for simplicity".  Also, maybe replace "300" by
a #define constant MAX_AUTOVAC_SLEEPTIME for readability?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Auto-vacuum is not running in 9.1.12
Next
From: Michael Paquier
Date:
Subject: Re: WAL replay bugs