Unnecessary limit on max_standby_streaming_delay - Mailing list pgsql-hackers

From Magnus Hagander
Subject Unnecessary limit on max_standby_streaming_delay
Date
Msg-id AANLkTik_x=n=BfQAcds9DAyY5LQLVCQhXxNZ93N-UuwC@mail.gmail.com
Whole thread Raw
Responses Re: Unnecessary limit on max_standby_streaming_delay  (Greg Smith <greg@2ndquadrant.com>)
Re: Unnecessary limit on max_standby_streaming_delay  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
The limit on max_standby_streaming_delay is currently 35 minutes
(around) - or you have to set it to unlimited. This is because the GUC
is limited to MAX_INT/1000, unit milliseconds.

Is there a reason for the /1000, or is it just an oversight thinking
the unit was in seconds?

If we can get rid of the /1000, it would make the limit over three
weeks, which seems much more reasonable. Or if we made it a 64-bit
counter it would go away completely.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Next
From: Greg Smith
Date:
Subject: Re: Unnecessary limit on max_standby_streaming_delay