Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char)

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char)
Дата
Msg-id D80BBF3A-8C07-4337-8DD9-B4B713247C04@seespotcode.net
обсуждение исходный текст
Ответ на timestamp subtraction (was Re: formatting intervals with to_char)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Oct 6, 2006, at 1:50 , Tom Lane wrote:

> I'm tempted to propose that we remove the justify_hours call, and tell
> anyone who really wants the old results to apply justify_hours() to  
> the
> subtraction result for themselves.  Not sure what the fallout would  
> be,
> though.

I'm tempted to support such a proposal. Is this something that we'd  
want to do for 8.2? There are some interval range checking fixes I'm  
working on for 8.3. Perhaps this could be rolled into that as well?  
Then again, range checking and behavior are two separate things.  
Considering how late it is in the cycle, perhaps the change in  
behavior should come in 8.3.

Michael Glaesemann
grzm seespotcode net




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

Предыдущее
От: "Hector Villarreal"
Дата:
Сообщение: Re: Assigning a timestamp without timezone to a timestamp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char)