Re: BUG #6340: to_timestamp() miscalculates

Поиск
Список
Период
Сортировка
От Hans-Henrik Fuxelius
Тема Re: BUG #6340: to_timestamp() miscalculates
Дата
Msg-id CANZ-B9w3G1kFXJQGDBkPe-nRmMkzKCryDqAK7WMuUQF6vtCTmg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #6340: to_timestamp() miscalculates  (Hans-Henrik Fuxelius <hfuxelius@gmail.com>)
Ответы Re: BUG #6340: to_timestamp() miscalculates  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
It seems not possible to suppress to_timestamp from doing daylight
saving conversion, I have GPS timeseries that looks perfect in the
'timestamp without time zone' save one value that wreck the whole time
serie, does that mean that time series cant be stored in time stamps?

/Hans-Henrik

On Thu, Dec 15, 2011 at 5:56 PM, Hans-Henrik Fuxelius
<hfuxelius@gmail.com> wrote:
> Thanx a lot for your promt respons :) You are absolutely right, its the d=
aylight saving that date and hour, I had it as an key in my GPS data and wa=
s very confused!!!
>
> Again - Thanx
> /Hans-Henrik
> On Dec 15, 2011, at 5:20 PM, Kevin Grittner wrote:
>
>> wrote:
>>
>>> test to run: select to_timestamp('2011,03,27,02,11,11',
>>> 'YYYY,MM,DD,HH24,MI,SS')
>>>
>>> and the run: select to_timestamp('2011,03,27,03,11,11',
>>> 'YYYY,MM,DD,HH24,MI,SS')
>>>
>>> It miscalculates 02 hour to 03 hour by some reason
>>
>> I don't know what time zone you're in, or whether daylight saving
>> time kicks in on that date. =A0*Is* there a 02:11:11 on that date, or
>> is that when time "springs forward" by an hour in the spring for your
>> locale?
>>
>> -Kevin
>

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

Предыдущее
От: "Andrea Grassi"
Дата:
Сообщение: R: BUG #6342: libpq blocks forever in "poll" function
Следующее
От: "Pavel Holec"
Дата:
Сообщение: Re: user names & non-ASCII