"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