Re: to_timestamp() and timestamp without time zone

Поиск
Список
Период
Сортировка
От hernan gonzalez
Тема Re: to_timestamp() and timestamp without time zone
Дата
Msg-id BANLkTi=bqcb==6+K1rTeBt7AOgZHbGPVtA@mail.gmail.com
обсуждение исходный текст
Ответ на to_timestamp() and timestamp without time zone  (hernan gonzalez <hgonzalez@gmail.com>)
Список pgsql-general
There is some related discussion here

http://postgresql.1045698.n5.nabble.com/to-timestamp-returns-the-incorrect-result-for-the-DST-fall-over-time-td3327393.html

But it amounts to the same thing: TO_TIMESTAMP() is not apt for dealing with plain TIMESTAMP
(without time zones).
Hence, there is no fiable way of parsing a "local date time", using this function, I must resort to
workarounds as defining a new function that internally sets, for example, set LOCAL timezone = 'UTC'


Hernán J. González

В списке pgsql-general по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Documented conversion from PostgreSQL->MongoDB...then right back to PostgreSQL :-)
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: to_timestamp() and timestamp without time zone