Re: Patch for ISO-8601-Interval Input and output. - Mailing list pgsql-hackers

From Ron Mayer
Subject Re: Patch for ISO-8601-Interval Input and output.
Date
Msg-id 49185505.7090304@cheapcomplexdevices.com
Whole thread Raw
In response to Re: Patch for ISO-8601-Interval Input and output.  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: Patch for ISO-8601-Interval Input and output.  ("Brendan Jurd" <direvus@gmail.com>)
List pgsql-hackers
Ron Mayer wrote:
> Ah!   That 5.5.4.2.1 comes from apparently an old Oct 2000
> draft version of the spec titled ISO/FDIS 8601.  (For now you can
> see it here: http://0ape.com/postgres_interval_patches/ISO-FDIS-8601.pdf )
> 
> I'll fix all the links to point to the 2004 spec.

I updated my web site[1] with the latest version of this patch.

Main differences since last time  * Merged with the IntervalStyle patch as it was checked into CVS.  * Fixed references
toconsistently refer to the same version of    the ISO 8601 spec (ISO 8601:2004(E))
 

[1]  http://0ape.com/postgres_interval_patches/

PS: I realize that this patch makes datetime.c a bit longer that it needs
to be; and that some of the functions added in this patch can be used by the
other interval styles as well.   "patch 3" that can be found on the same HTML
page does this refactoring.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Block-level CRC checks
Next
From: Alvaro Herrera
Date:
Subject: Re: per-database locale: createdb switches