Re: daylight savings patches needed?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: daylight savings patches needed?
Дата
Msg-id 18155.1171332075@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: daylight savings patches needed?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: daylight savings patches needed?  ("Magnus Hagander" <magnus@hagander.net>)
Список pgsql-general
Bruce Momjian <bruce@momjian.us> writes:
> Joseph Shraibman wrote:
>> So what happens if you have an old os with a new postgresql install?
>> Will CURRENT_TIMESTAMP always return the correct value even if the
>> system 'date' command is showing the wrong time?

> Yes.

Unless the user changes the system's clock setting (ie, its notion of
the current UTC time) so that what he sees from "date" looks right.

Also, what about Windows?  I'm not clear whether Windows tries to keep
system time in UTC or not.  Even if it does, it'd be vulnerable to the
same pilot-error problem.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: daylight savings patches needed?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: getting postgres to emulate mysql/sqlserver bit datatype