| От | Tom Lane |
|---|---|
| Тема | Re: Question about an inconsistency - 3 |
| Дата | |
| Msg-id | 22184.1468975628@sss.pgh.pa.us обсуждение |
| Ответ на | Question about an inconsistency - 3 ("petrum@gmail.com" <petrum@gmail.com>) |
| Список | pgsql-hackers |
"petrum@gmail.com" <petrum@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 dstrp is used in both arguments. Doubt it, because if the coding were like that there would be no need to pass the third argument separately at all; the subroutine could just access rp->r_stdoff for itself. But this isn't our code, so if you want an authoritative answer you should ask athttps://mm.icann.org/mailman/listinfo/tz regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера