Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Date
Msg-id 1256.1445273671@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
"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.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: pg_regprefix() doesn't handle lookahead constraints correctly
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp