Re: QSoC proposal: date_trunc supporting intervals

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: QSoC proposal: date_trunc supporting intervals
Дата
Msg-id CAGTBQpaP6JCSoMw06oMExagksCpuSmqBfy3jQDWJFgP88XB6dg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: QSoC proposal: date_trunc supporting intervals  (Alexandr <askellio@gmail.com>)
Список pgsql-hackers
On Thu, Mar 20, 2014 at 5:55 PM, Alexandr <askellio@gmail.com> wrote:
>> Subtracting to get an interval, then converting that interval to seconds
>> or minutes could give you a value that's wildly different from the right
>> answer.
>
> Can you explain me when it happens ?


'1 month'::interval

It's different depending on which month we're talking about.



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

Предыдущее
От: Alexandr
Дата:
Сообщение: Re: QSoC proposal: date_trunc supporting intervals
Следующее
От: "Behn, Edward (EBEHN)"
Дата:
Сообщение: Array of composite types returned from python