Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoDht-0007Hf-OU for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Oct 2015 16:54:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZoDht-0004ha-4b for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Oct 2015 16:54:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZoDhs-0004hT-N2 for pgsql-bugs@postgresql.org; Mon, 19 Oct 2015 16:54:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZoDhp-0000jB-9n for pgsql-bugs@postgresql.org; Mon, 19 Oct 2015 16:54:44 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t9JGsWB5005716; Mon, 19 Oct 2015 12:54:32 -0400 From: Tom Lane To: "David G. Johnston" cc: Bruce Momjian , stepanperlov@gmail.com, "pgsql-bugs@postgresql.org" Subject: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp In-reply-to: References: <20151019130052.3019.36176@wrigleys.postgresql.org> <20151019151248.GC24392@momjian.us> Comments: In-reply-to "David G. Johnston" message dated "Mon, 19 Oct 2015 11:22:58 -0400" Date: Mon, 19 Oct 2015 09:54:31 -0700 Message-ID: <1256.1445273671@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "David G. Johnston" 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs