localtime() for win32 problem.

Поиск
Список
Период
Сортировка
От Korea PostgreSQL Users' Group
Тема localtime() for win32 problem.
Дата
Msg-id 000d01c47521$5534f100$cdcb56dc@paolo.net
обсуждение исходный текст
Ответ на Re: initdb problem in Korean OS.  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers-win32
I found that localtime do not work same between linux and win32.

timet = -1000000; /* minus value */
localtime(&timet);

above codes do not work win32. (in Microsoft C, mingw gcc too)

so, score_timezone() function in src/timezone/pgtz.c should be changed. 
this problem is continuous with initdb when initdb run without setting TZ env value.

В списке pgsql-hackers-win32 по дате отправления: