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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ron Mayer <ron(at)intervideo(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ISO 8601 "Time Intervals" of the "format with time-unit
Date: 2003-09-08 20:27:16
Message-ID: 200309082027.h88KRGu26365@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches

Tom Lane wrote:
> > Perhaps one could argue that the postgres shorthand should
> > follow the ISO conventions, but I'd not want to break backward
> > compatability, incase someone out there is using '1H30M' and
> > expecting minutes instead of months.
>
> I doubt anyone is using it, because it's completely undocumented.
> If we're going to support the real ISO spec, I'd suggest ripping
> out any not-quite-there variant. (Especially so noting that your
> code seems a lot cleaner than the ptype stuff.)

Agreed. Let me put your code in the queue for 7.5.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Bruce Momjian 2003-09-08 20:29:56 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Bruce Momjian 2003-09-08 20:25:21 Re: About GPL and proprietary software

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-09-08 20:29:56 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Bruce Momjian 2003-09-08 20:25:21 Re: About GPL and proprietary software

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-08 20:28:38 Re: plpgsql doesn't coerce boolean expressions to boolean
Previous Message Tom Lane 2003-09-08 20:17:19 Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-08 20:29:56 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Tom Lane 2003-09-08 20:17:19 Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'