Re: time values past 24:00:00 (or rather 23:59:60)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: time values past 24:00:00 (or rather 23:59:60)
Дата
Msg-id 1313969.1591304074@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: time values past 24:00:00 (or rather 23:59:60)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: time values past 24:00:00 (or rather 23:59:60)
Список pgsql-bugs
I wrote:
> Christoph Berg <myon@debian.org> writes:
>> This is not ok:

>> # select '23:59:60.999'::time;
>> time
>> --------------
>> 24:00:00.999

> Yeah.  Here's a draft patch for that (sans any regression tests as yet).

I pushed this fix, but only as far back as v10.  To apply it in the
9.x branches, we'd need to make the code support float timestamps,
and I didn't think it was worth the trouble.

            regards, tom lane



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