Re: timezone() with timeofday() converts the wrong direction?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: timezone() with timeofday() converts the wrong direction? |
| Дата | |
| Msg-id | 19419.1114443383@sss.pgh.pa.us обсуждение |
| Ответ на | Re: timezone() with timeofday() converts the wrong direction? (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: timezone() with timeofday() converts the wrong direction?
|
| Список | pgsql-general |
Michael Fuhr <mike@fuhr.org> writes:
> The problem I was discussing involves getting *different* time zone
> specifictions in the output. That is, something like this (which
> apparently is possible in 7.1.3 but not in later versions):
> f | timezone
> -------------------------------+-------------------------------
> 2005-04-24 22:25:51.669218+00 | 2005-04-24 23:25:51.669218+01
It was not really possible in 7.1 either (nor any previous version).
The secret to the above is that in 7.1 the timezone() function's
result is *text*, not a timestamp object. So it's purely a display
artifact ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера