BUG #12428: Incorrect Code

From: honey(at)internot(dot)info
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12428: Incorrect Code
Date: 2015-01-05 12:47:27
Message-ID: 20150105124727.11502.92609@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12428
Logged by: Joshua Rogers
Email address: honey(at)internot(dot)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,

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2015-01-05 17:23:18 Re: BUG #8470: 9.3 locking/subtransaction performance regression
Previous Message Asif Naeem 2015-01-05 00:34:58 pg_upgrade failure on Windows Server