| От | Tom Lane |
|---|---|
| Тема | Re: Unexpected behaviour of date_part |
| Дата | |
| Msg-id | 17271.1246371729@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Unexpected behaviour of date_part (Richard Huxton <dev@archonet.com>) |
| Список | pgsql-general |
Richard Huxton <dev@archonet.com> writes:
> The <datetime value expression> isn't '2009 ... +11', it's the absolute
> time that string represents. It doesn't in fact have a time-zone
> component except in the context of your locale settings.
> I don't know if we do follow the standard here though - not read it through.
The spec does appear to contemplate that the timezone be represented
separately. We've discussed this in the past but there's not been a lot
of enthusiasm for changing it ... aside from the work involved, it would
mean doubling the space required for a timestamptz value (because of
alignment considerations).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера