Re: Bug with timestamp !!!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug with timestamp !!!
Дата
Msg-id 4662.989803900@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug with timestamp !!!  ("Eric G. Miller" <egm2@jps.net>)
Список pgsql-general
"Eric G. Miller" <egm2@jps.net> writes:
> After doing that, the results become consistent regardless of the order
> of the calls.  You can't use "memset(theTime, 0, sizeof(struct tm))"
> because when tm_isdst = 0 it say daylight savings time is false (which
> you don't know yet from a string like '2001-04-01 02:30:30').

But we don't do that --- we set tm_isdst = -1 so as to ask mktime's
opinion whether the time is DST or not.  That is the case that seems
to have some history-dependent behavior ...

            regards, tom lane

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

Предыдущее
От: "Eric G. Miller"
Дата:
Сообщение: Re: Bug with timestamp !!!
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: [ODBC] Re: Help: Change the SQL query length