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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ron Mayer <ron(at)intervideo(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: ISO 8601 "Time Intervals" of the "format with time-unit
Date: 2003-12-15 23:30:09
Message-ID: 200312152330.hBFNU9k20876@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Ron Mayer wrote:
> > -----Original Message-----
> >
> > Is this ready for application? It looks good to me. However, there is
> > an "Open issues" section.
>
> In my mind there were two categories of open issues
> a) ones that are 100% backward (such as the comment about
> outputting this format)
> and
> b) ones that aren't (such as deprecating the current
> postgresql shorthand of
> '1Y1M'::interval = 1 year 1 minute
> in favor of the ISO-8601
> 'P1Y1M'::interval = 1 year 1 month.
>
> Attached is a patch that addressed all the discussed issues that
> did not break backward compatability, including the ability to
> output ISO-8601 compliant intervals by setting datestyle to
> iso8601basic.
>
> Ron

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

--
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

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-16 00:06:32 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Dan Langille 2003-12-15 21:14:30 Use Google

Browse pgsql-general by date

  From Date Subject
Next Message Kent L. Nasveschuk 2003-12-15 23:35:26 Re: FoxPro Vs. PostgreSQL
Previous Message Christopher Browne 2003-12-15 23:21:35 Re: Relational data model dead?

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-16 00:06:32 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Tom Lane 2003-12-15 23:10:03 Re: conversion_create.sql

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-16 00:06:32 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Bruce Momjian 2003-12-15 21:21:07 Re: [HACKERS] [PATCHES] fork/exec patch