Re: roundoff problem in time datatype

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: roundoff problem in time datatype
Дата
Msg-id 200510131419.01729.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: roundoff problem in time datatype  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: roundoff problem in time datatype  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Список pgsql-hackers
Tom,

> I think my preference is to allow '24:00:00' (but not anything larger)
> as a valid input value of the time datatypes.  This for two reasons:
>     * existing dump files may contain such values
>     * it's consistent with allowing, eg, '12:13:60', which we
>       allow even though it's certainly not a valid leap second.

It's also consistent with how several other RDBMSes do things (SQL Server, 
MySQL), and several programming languages.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: roundoff problem in time datatype
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: A costing analysis tool