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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org