Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"
Дата
Msg-id 4738.1063000037@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ISO 8601 "Time Intervals" of the "format with time-unit deignators"  ("Ron Mayer" <ron@intervideo.com>)
Ответы Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"
Список pgsql-patches
"Ron Mayer" <ron@intervideo.com> writes:
>    Compared to the ISO 8601 time interval specification, the
>    postgresql interval syntax is quite verbose.  For example:

>      Postgresql interval:              ISO8601 Interval
>      ---------------------------------------------------
>      '1 year 6 months'                'P1Y6M'
>      '3 hours 25 minutes 42 seconds'  'PT3H25M42S'

Er, don't we support that already?  I know I saw code to support
something much like that syntax last time I looked into the datetime
routines.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Minor lmgr code cleanup
Следующее
От:
Дата:
Сообщение: Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'