Re: What does Time.MAX_VALUE actually represent?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: What does Time.MAX_VALUE actually represent?
Дата
Msg-id 0d31a5de-c1c4-4c24-38ee-196faab9d061@2ndquadrant.com
обсуждение исходный текст
Ответ на What does Time.MAX_VALUE actually represent?  (Dave Cramer <davecramer@gmail.com>)
Ответы Re: What does Time.MAX_VALUE actually represent?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 12/30/17 09:07, Dave Cramer wrote:
> We are having a discussion on the jdbc project about dealing with 24:00:00.
> 
> https://github.com/pgjdbc/pgjdbc/pull/992#issuecomment-354507612

select timestamp '2017-12-30 24:00:00';

returns

2017-12-31 00:00:00

which makes some sense.

I don't know why we accept that and not '24:00:01' and beyond, but it's
probably historical.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Bear Giles
Дата:
Сообщение: Re: What does Time.MAX_VALUE actually represent?
Следующее
От: Ivan Kartyshov
Дата:
Сообщение: [Patch] Checksums for SLRU files