Re: tzcode update - Mailing list pgsql-patches

From Tom Lane
Subject Re: tzcode update
Date
Msg-id 14459.1202914870@sss.pgh.pa.us
Whole thread Raw
In response to Re: tzcode update  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: tzcode update
List pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Looking closer, I don't understand how that change was supposed to do
> anything.

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

pgsql-patches by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: tzcode update
Next
From: Bruce Momjian
Date:
Subject: SSL libpq patch applied