Re: [HACKERS] Question about an inconsistency - 3

2016-07-19 Thread Tom Lane
"pet...@gmail.com" writes: > In file postgres/postgresql-9.4.4/src/timezone/zic.c > function stringzone line 2091we have > if (stringrule(result, stdrp, dstrp->r_stdoff, zp->z_gmtoff) != 0) > Is it ok to have as the 3rd argument dstrp->r_stdoff or should we > have stdrp->r_stdoff? In line 2085 d

[HACKERS] Question about an inconsistency - 3

2016-07-19 Thread pet...@gmail.com
Hi, In file postgres/postgresql-9.4.4/src/timezone/zic.c function stringzone line 2091we have if (stringrule(result, stdrp, dstrp->r_stdoff, zp->z_gmtoff) != 0) Is it ok to have as the 3rd argument dstrp->r_stdoff or should we have stdrp->r_stdoff? In line 2085 dstrp is used in both arguments.