Re: "JSON does not support infinite date values"

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tim Smith <randomdev4+postgres(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: "JSON does not support infinite date values"
Date: 2015-02-26 15:53:14
Message-ID: 54EF416A.7070305@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 02/26/2015 10:38 AM, Tom Lane wrote:
>
> Yeah, I think so. The sequence 'infinity'::timestamp to JSON to
> ISO-8601-only consumer is going to fail no matter what; there is no
> need for us to force a failure at the first step. Especially when
> doing so excludes other, perfectly useful use-cases.
>
> So +1 for removing the error and emitting "infinity" suitably quoted.
> Andrew, will you do that?
>
>

Yeah.

cheers

andrew

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Smith 2015-02-26 15:54:37 Re: "JSON does not support infinite date values"
Previous Message Hanns Hartman 2015-02-26 15:51:30 How is autovacuum affected by a change in year.