Unnecessary limit on max_standby_streaming_delay

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Unnecessary limit on max_standby_streaming_delay
Дата
Msg-id AANLkTik_x=n=BfQAcds9DAyY5LQLVCQhXxNZ93N-UuwC@mail.gmail.com
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Unnecessary limit on max_standby_streaming_delay