Marc Cousin <cousinm...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to