Re: operator suggest " interval / interval = numeric"

Поиск
Список
Период
Сортировка
От Warren Turkal
Тема Re: operator suggest " interval / interval = numeric"
Дата
Msg-id 7fdf8c4d0801091527x7e7fce24mcf77d4f939619390@mail.gmail.com
обсуждение исходный текст
Ответ на Re: operator suggest " interval / interval = numeric"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: operator suggest " interval / interval = numeric"  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
The year to month and day to second intervals should not overlap. The
standard doesn't actually allow it IIRC.

wt

On Jan 9, 2008 7:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Ilya A. Kovalenko" <shadow@oganer.net> writes:
> > I suggest one more standard date/time operator, to divide one interval
> > by another with numeric (or float, for example) result.
>
> You'd have to define exactly what that means, which seems a little
> tricky for incommensurate intervals.  For instance what is the
> result of '1 month' / '1 day' ?
>
>                         regards, tom lane
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: odd convert_from bug
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Named vs Unnamed Partitions