Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)
Дата
Msg-id 26967.1238267645@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)  (Roman Kononov <kononov@ftml.net>)
Список pgsql-bugs
Roman Kononov <kononov@ftml.net> writes:
> On 2009-03-28 11:34 Tom Lane said the following:
>> If you have an actual use-case for this, what do you think it should do?

> I don't have a use-case (other than hypothetical "how many more years
> and quarters did it take to complete this particular software project
> than that particular project"). I think that a quarter is 1/4 year and
> that is it.

That's not really helpful for determining which way to round fractions.
I think we'll leave this alone until someone has a real use-case that
can guide the decision.

            regards, tom lane

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

Предыдущее
От: Roman Kononov
Дата:
Сообщение: Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)
Следующее
От: "Brice Maron & Duchesne P-A"
Дата:
Сообщение: BUG #4741: Domain constraint violation with trigger