Re: small bug on 3-digit years in 9.2-dev

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: small bug on 3-digit years in 9.2-dev
Дата
Msg-id 17058.1341242239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на small bug on 3-digit years in 9.2-dev  (Marc Cousin <cousinmarc@gmail.com>)
Список pgsql-hackers
Marc Cousin <cousinmarc@gmail.com> writes:
> While working on the "What's new in 9.2", I think I found a small bug:

Yeah, that code certainly looks wrong, thanks for the report!

>      /* Force 100-519 into the 2000's */
> -    else if (year >= 100 && year < 519)
> +    else if (year >= 100 && year <= 519)

I think "< 520" would be more in keeping with the adjacent coding.
        regards, tom lane


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Event Triggers reduced, v1
Следующее
От: Ants Aasma
Дата:
Сообщение: Re: [PATCH] Lazy hashaggregate when no aggregation is needed