BUG #12428: Incorrect Code - Mailing list pgsql-bugs

From honey@internot.info
Subject BUG #12428: Incorrect Code
Date
Msg-id 20150105124727.11502.92609@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #12428: Incorrect Code  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12428
Logged by:          Joshua Rogers
Email address:      honey@internot.info
PostgreSQL version: 9.4.0
Operating system:   Ubuntu 14.04
Description:

Hi,

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)

(<< >> added to denote change)

Looks like a copy 'n paste error.


Thanks,

pgsql-bugs by date:

Previous
From: elegirmeister@gmail.com
Date:
Subject: BUG #12410: PgAdmin 1.20 crash on start (OS X 10.10.1)
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #8470: 9.3 locking/subtransaction performance regression