Re: time value '24:00:00'

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: time value '24:00:00'
Дата
Msg-id 4549A95D.1010800@archonet.com
обсуждение исходный текст
Ответ на Re: time value '24:00:00'  ("Uwe C. Schroeder" <uwe@oss4u.com>)
Ответы Re: time value '24:00:00'
Список pgsql-general
Uwe C. Schroeder wrote:
> why don't you just use < '00:00:00'::time
> and avoid the issue?
>
> IMHO there shouldn't even be a 24:00:00, because that would imply that there
> is a 24:00:01 - which there is not.
> It should go from 23:59 to 00:00
> But then, I didn't write the spec for time in general, so maybe there is a
> 24:00 which is identical to 00:00

Ah, times and dates are wonderful things though. For example, '23:59:60'
is a valid time (and not equal to 24:00:00 or 00:00:00) every so often.

http://en.wikipedia.org/wiki/Leap_second

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Updated: Compiling/Installing as a non-admin user
Следующее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: time value '24:00:00'