Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, stepanperlov(at)gmail(dot)com, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Date: 2015-10-19 18:01:41
Message-ID: CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Oct 19, 2015 at 12:54 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> > ... ​But since ISO 8601 doesn't define infinity our implementation of
> this
> > behavior is not externally constrained and probably shouldn't be changed.
>
> But we already did change it, ie, 9.4 is failing to follow the precedent
> established by 9.2 and 9.3. And that was not an intentional thing, nor
> is it more reasonable than the previous behavior, so I think it's a bug.
>

​That was what I was getting it. It shouldn't be changed from the prior
behavior. Clarified under Bruce's response pointing out the same...

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-10-19 21:57:40 Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Previous Message Tom Lane 2015-10-19 16:54:31 Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp