pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G. Johnston <david.g.johnston@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: stepanperlov@gmail.com
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Date: Mon, 19 Oct 2015 14:01:41 -0400
Message-ID: <CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com> (raw)
In-Reply-To: <1256.1445273671@sss.pgh.pa.us>
References: <20151019130052.3019.36176@wrigleys.postgresql.org>
	<CAKFQuwaiJs9BZ34uUahqn0Y4GR8XeWivWQ8JixN6KiU7i3dtpg@mail.gmail.com>
	<20151019151248.GC24392@momjian.us>
	<CAKFQuwaCK2N3BCDZMrFgz1a9kONG8cQd239DtH8ajbXTf3x1bw@mail.gmail.com>
	<1256.1445273671@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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

> "David G. Johnston" <david.g.johnston@gmail.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.

view thread (12+ messages)  latest in thread

Message-ID: <CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com>
Permalink:  ../CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com/
Also on:    postgresql.org/message-id/CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: david.g.johnston@gmail.com, tgl@sss.pgh.pa.us, bruce@momjian.us, stepanperlov@gmail.com
  Subject: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
  In-Reply-To: <CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com>
  References: <20151019130052.3019.36176@wrigleys.postgresql.org> <CAKFQuwaiJs9BZ34uUahqn0Y4GR8XeWivWQ8JixN6KiU7i3dtpg@mail.gmail.com> <20151019151248.GC24392@momjian.us> <CAKFQuwaCK2N3BCDZMrFgz1a9kONG8cQd239DtH8ajbXTf3x1bw@mail.gmail.com> <1256.1445273671@sss.pgh.pa.us> <CAKFQuwYo5PFbpZ2AZwY2EzePp6RcNqBTMfr4eD-CBaFcxbp13w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox