"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> Looking closer, I don't understand how that change was supposed to do
The point of that patch is to avoid an off-by-one result for years BC.
The direction of rounding in integer division with a negative numerator
is undefined in C (or at least used to be --- did C99 tighten this up?).
regards, tom lane
In response to
pgsql-patches by date
|Next:||From: Bruce Momjian||Date: 2008-02-14 03:49:07|
|Subject: SSL libpq patch applied|
|Previous:||From: Heikki Linnakangas||Date: 2008-02-13 13:10:38|
|Subject: Re: tzcode update|