Re: [PATCH] Leading minus for negative time interval in ISO 8601

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Mikhail Titov <mlt(at)gmx(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chapman Flack <chap(at)anastigmatix(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Leading minus for negative time interval in ISO 8601
Date: 2020-06-11 22:51:33
Message-ID: 20200611225133.GC2507@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 9, 2020 at 11:18:20PM -0500, Mikhail Titov wrote:
> On Wed, Jun 3, 2020 at 11:25 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > ...
> > Maybe we should just take the position that negative intervals aren't
> > standardized, and if you want to transport them using ISO format then
> > you first need to lobby ISO to fix that.
>
> Apparently ISO did "fix" this. I managed to get a copy of ISO
> 8601-2:2019(E) and I insist on reconsidering the patch. Here is an
> excerpt from page 12 of the standard:

This shows the problem of trying to honor a standard which is not
publicly available.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-06-11 22:54:02 Re: [PATCH] fix two shadow vars (src/backend/commands/sequence.c)
Previous Message David Rowley 2020-06-11 22:42:45 Building PostgreSQL extensions on Windows