Re: [HACKERS] Date/time on glibc2 linux

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Date/time on glibc2 linux
Дата
Msg-id 3469.913580134@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Date/time on glibc2 linux  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu> writes:
> ... How about if we continue to test for the other too
> and then the code can choose which one to enable. I can flip around the
> source blocks to get the right sense. I think this may help the Alpha
> port also, since I vaguely recall that Dec/Compaq (*sigh*) ran afoul of
> our tests too. And although the BSD-style TZ-in-tm seemed to be old
> fashioned, with reentrant/threaded code it is the wave of the future so
> could/should be the first choice for the code to consider.

I had some other fixes to make in configure.in today, so I went ahead
and added a call to AC_STRUCT_TIMEZONE.  So the configuration symbol
HAVE_TM_ZONE is now available for use.  You probably know better than
I what parts of the code have to be touched to prefer using the tm_zone
field of struct tm over the global timezone variable, so I'll leave that
part of the repair to you...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] COMMIT
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] redolog - for discussion