Re: Unnecessary limit on max_standby_streaming_delay

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unnecessary limit on max_standby_streaming_delay
Date: 2010-12-17 16:28:12
Message-ID: 1292603292.22053.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On fre, 2010-12-17 at 12:57 +0100, Magnus Hagander wrote:
> 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?

Yeah, I actually noticed this week that log_min_duration_statement is
limited to the same 35 minutes for the same reason. Might be good to
address that, too. Note that statement_timeout does not have that
limit.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-12-17 16:34:48 Re: [COMMITTERS] pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Previous Message Alvaro Herrera 2010-12-17 16:27:23 Re: bug in SignalSomeChildren