Re: BUG #12428: Incorrect Code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: honey(at)internot(dot)info
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12428: Incorrect Code
Date: 2015-01-05 17:45:05
Message-ID: 1098.1420479905@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

honey(at)internot(dot)info writes:
> In /src/timezone/zic.c:
> 2091 if (stringrule(result, stdrp, dstrp->r_stdoff, zp->z_gmtoff) != 0)
> Should it not be
> 2091 if (stringrule(result, stdrp, >>stdp->r_stdoff<<, zp->z_gmtoff) != 0)

I wouldn't assume that ... it's still that way in tzcode2014j,
so if this is a bug you need to report it to upstream not us. See
http://www.iana.org/time-zones

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message bquirion 2015-01-05 19:17:03 BUG #12432: date_trunc returning wrong year and day
Previous Message Alvaro Herrera 2015-01-05 17:23:18 Re: BUG #8470: 9.3 locking/subtransaction performance regression