Re: "JSON does not support infinite date values" - Mailing list pgsql-general

From Andres Freund
Subject Re: "JSON does not support infinite date values"
Date
Msg-id 20150226120223.GA2579@alap3.anarazel.de
Whole thread Raw
In response to "JSON does not support infinite date values"  (Tim Smith <randomdev4+postgres@gmail.com>)
Responses Re: "JSON does not support infinite date values"  (Andrew Dunstan <andrew@dunslane.net>)
Re: "JSON does not support infinite date values"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi,

On 2015-02-26 11:55:20 +0000, Tim Smith wrote:
> As far as I'm aware, JSON has no data types as such, and so why is
> Postgres (9.4.1) attempting to impose its own nonsense constraints ?

"impose its own nonsense constraints" - breathe slowly in, and out, in,
and out.

It looks to me like ab14a73a6ca5cc4750f0e00a48bdc25a2293034a copied too
much code from xml.c - including a comment about XSD... Andrew, was that
intentional?

Greetings,

Andres Freund


pgsql-general by date:

Previous
From: Tim Smith
Date:
Subject: "JSON does not support infinite date values"
Next
From: Ramesh T
Date:
Subject: rules