Tom Lane
5fb20a5ba6
Fix incorrect translation of minus-infinity datetimes for json/jsonb.
...
Commit bda76c1c8cfb1d11751ba6be88f0242850481733 caused both plus and
minus infinity to be rendered as "infinity", which is not only wrong
but inconsistent with the pre-9.4 behavior of to_json(). Fix that by
duplicating the coding in date_out/timestamp_out/timestamptz_out more
closely. Per bug #13687 from Stepan Perlov. Back-patch to 9.4, like
the previous commit.
In passing, also re-pgindent json.c, since it had gotten a bit messed up by
recent patches (and I was already annoyed by indentation-related problems
in back-patching this fix ...)
2015-10-20 11:07:05 -07:00
..
2011-02-03 22:32:49 -05:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-05-14 12:08:49 -04:00
2015-05-14 12:08:49 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-07-28 13:21:37 -07:00
2015-01-06 11:43:47 -05:00
2011-04-05 09:35:43 -04:00
2015-02-20 00:11:42 -05:00
2015-04-30 15:02:14 -04:00
2015-10-20 11:07:05 -07:00
2015-10-20 11:07:05 -07:00
2015-05-14 12:08:49 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-03-26 14:03:25 -04:00
2015-01-06 11:43:47 -05:00
2015-05-14 12:08:49 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-05-15 14:26:51 +03:00
2015-10-04 12:29:50 -04:00
2015-06-28 18:06:14 -04:00
2015-03-26 14:03:25 -04:00
2015-01-06 11:43:47 -05:00
2015-03-28 15:11:53 +02:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-07-17 21:06:39 -04:00
2015-05-31 20:34:10 -04:00
2015-01-06 11:43:47 -05:00
2015-07-25 14:39:00 -04:00
2015-01-06 11:43:47 -05:00
2015-08-04 18:18:46 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-07-08 20:44:25 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-09-20 20:47:36 -04:00
2015-09-04 13:37:16 -04:00
2010-09-20 22:08:53 +02:00
2015-05-15 17:03:16 -03:00
2015-05-20 19:45:43 +03:00
2015-06-25 14:39:05 -04:00
2015-01-06 11:43:47 -05:00
2015-02-20 00:11:42 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-09-20 20:45:54 -04:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-09-24 18:35:46 -04:00
2015-04-30 15:02:14 -04:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-01-06 11:43:47 -05:00
2015-07-25 14:39:00 -04:00
2015-01-06 11:43:47 -05:00
2015-03-01 13:22:34 -05:00
2015-06-27 09:55:06 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-03-01 14:06:55 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-02-20 00:11:42 -05:00
2015-01-06 11:43:47 -05:00