Re: proposal: rounding up time value less than its unit.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: rounding up time value less than its unit.
Дата
Msg-id 15325.1408634199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: rounding up time value less than its unit.  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: proposal: rounding up time value less than its unit.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> The patch also rounds a zero up to one. A naked zero with no unit is not 
> affected, but e.g if you have "log_rotation_age=0s", it will not disable 
> the feature as you might expect, but set it to 1 minute. Should we do 
> something about that?

That sounds like a dealbreaker to me.  There are enough places where zero
has special meaning that we should not *ever* change zero to non-zero
silently.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Hardening pg_upgrade
Следующее
От: "Baker, Keith [OCDUS Non-J&J]"
Дата:
Сообщение: Re: Proposal to add a QNX 6.5 port to PostgreSQL