| От | 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?
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера