| От | Tom Lane |
|---|---|
| Тема | Re: timestamp problem |
| Дата | |
| Msg-id | 18865.1193860315@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: timestamp problem ("Wright, George" <George.Wright@infimatic.com>) |
| Список | pgsql-novice |
"Wright, George" <George.Wright@infimatic.com> writes:
> I would expect:
> myhost=> select isfinite(timestamp '2007-10-14 00:00:00 BRST');
> to error out just like:
No, this is intentional behavior. Note the comment in
DetermineTimeZoneOffset:
/*
* It's an invalid or ambiguous time due to timezone transition. Prefer
* the standard-time interpretation.
*/
BTW, isfinite() has got nothing whatever to do with this. If an error
were to be thrown, it would have to be during timestamp value input.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера