| От | Tom Lane |
|---|---|
| Тема | Re: time data type question |
| Дата | |
| Msg-id | 2847789.1733514522@sss.pgh.pa.us обсуждение |
| Ответ на | time data type question (Sbob <sbob@quadratum-braccas.com>) |
| Список | pgsql-admin |
Sbob <sbob@quadratum-braccas.com> writes:
> I thought I would see the time columns shift to mountain time as well.
> am I doing something wrong?
timetz acts completely differently from timestamptz. timetz
actually stores two fields, a time-of-day (microseconds since
midnight I think) and a timezone expressed as numeric offset
from UTC. Once stored, the value does not react to changes
in the timezone setting.
By and large we consider timetz deprecated. It's there
because the SQL spec requires it, but it doesn't behave in
a way that most people find useful.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера