Question about an inconsistency - 3
От | petrum@gmail.com |
---|---|
Тема | Question about an inconsistency - 3 |
Дата | |
Msg-id | AF0BCA9A-E3F7-4A82-AC7B-6874074C72D7@gmail.com обсуждение исходный текст |
Ответ на | Question about an inconsistency - 2 ("petrum@gmail.com" <petrum@gmail.com>) |
Ответы |
Re: Question about an inconsistency - 3
|
Список | pgsql-hackers |
<br class="" />Hi,<div class=""><br class="" /></div><table cellpadding="0" cellspacing="0" class="first_procedure_tableprocedure_content_table" summary="code listing"><tbody class=""><tr class="filename_row"><tdclass="filename_cell" colspan="5"><span class="" style="font-size: 12px;">In file postgres/postgresql-9.4.4/src/timezone/zic.c</span></td></tr></tbody></table>functionstringzone line 2091we have<div class=""><brclass="" /></div><div class=""><span class="p0 superint_left super_interesting" id="S80"> </span><span class="keywordp1 super_interesting" id="S81">if</span><span class="p3 superint_right super_interesting" id="S82"> (<spanclass="hil_stringrule p5">stringrule</span>(<span class="p16 hil_result">result</span>, <span class="p24hil_stdrp">stdrp</span>, <span class="p31 hil_dstrp">dstrp</span>-><span class="hil_r_stdoff p38">r_stdoff</span>,<span class="p48 hil_zp">zp</span>-><span class="p52 hil_z_gmtoff">z_gmtoff</span>) != <span class="hil_0p65">0</span>)</span></div><div class=""><br class="" /></div><div class="">Is it ok to have as the 3rd argument <spanclass="p31 hil_dstrp">dstrp</span>-><span class="hil_r_stdoff p38">r_stdoff or should we </span></div><divclass=""><span class="hil_r_stdoff p38">have </span><span class="p31 hil_dstrp"><b class="">stdrp</b></span>-><spanclass="hil_r_stdoff p38">r_stdoff? In line 2085 dstrp is used in both arguments.</span></div><divclass=""><br class="" /></div><div class="">Not very sure because I do not understand the semanticsof the </div><div class="">invoked operation, but I thought it would be better to ask.</div><div class=""><div class=""><divclass=""><br class="" /></div></div></div><div class="">Thanks,</div><div class="">Petru Florin Mihancea</div>
В списке pgsql-hackers по дате отправления: