Re: Difference in TO_TIMESTAMP results.

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Difference in TO_TIMESTAMP results.
Дата
Msg-id 874lenjjs9.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Difference in TO_TIMESTAMP results.  (Prabhat Sahu <prabhat.sahu@enterprisedb.com>)
Список pgsql-hackers
>>>>> "Prabhat" == Prabhat Sahu <prabhat.sahu@enterprisedb.com> writes:

 Prabhat> postgres[114552]=# select to_timestamp('15-07-84 23:30:32','dd-mm-yyyy
 Prabhat> hh24:mi:ss');
 Prabhat>          to_timestamp
 Prabhat> ------------------------------
 Prabhat>  0084-07-15 23:30:32+05:53*:28*
 Prabhat> (1 row)

 Prabhat> My doubt is the *":28"* in timezone part in 2nd result, is it
 Prabhat> expected ?

Yes, it's expected.

The timezone db as a general rule gives the actual local mean solar time
offset (down to seconds) at the reference location (Kolkata in this
case) as the UTC offset for times before the earliest historical data
known to the tzdb maintainers.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: Changing the setting of wal_sender_timeout per standby
Следующее
От: Oleksii Kliukin
Дата:
Сообщение: Re: [PATCH] Fix for infinite signal loop in parallel scan