postgresql/src/backend
Tom Lane d435542583 Fix incorrect translation of minus-infinity datetimes for json/jsonb.
Commit bda76c1c8c 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:04 -07:00
..
access Add a C API for parallel heap scans. 2015-10-16 17:33:18 -04:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
commands Mark more functions parallel-restricted or parallel-unsafe. 2015-10-16 11:49:31 -04:00
executor Remove duplicate word. 2015-10-20 10:29:19 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Don't send protocol messages to a shm_mq that no longer exists. 2015-10-16 09:42:33 -04:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Allow FDWs to push down quals without breaking EvalPlanQual rechecks. 2015-10-15 13:00:40 -04:00
optimizer Prohibit parallel query when the isolation level is serializable. 2015-10-16 11:58:27 -04:00
parser Have CREATE TABLE LIKE add OID column if any LIKEd table has one 2015-10-05 21:19:16 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port On Windows, ensure shared memory handle gets closed if not being used. 2015-10-13 11:21:33 -04:00
postmaster On Windows, ensure shared memory handle gets closed if not being used. 2015-10-13 11:21:33 -04:00
regex Fix incorrect handling of lookahead constraints in pg_regprefix(). 2015-10-19 13:54:53 -07:00
replication Remove more volatile qualifiers. 2015-10-06 15:45:02 -04:00
rewrite Apply SELECT policies in INSERT/UPDATE+RETURNING 2015-10-05 07:55:13 -04:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Remove volatile qualifiers from proc.c and procarray.c 2015-10-16 14:20:36 -04:00
tcop Remove set_latch_on_sigusr1 flag. 2015-10-09 14:31:04 -04:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils Fix incorrect translation of minus-infinity datetimes for json/jsonb. 2015-10-20 11:07:04 -07:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Revert "Have dtrace depend on object files directly, not objfiles.txt" 2015-10-15 13:16:03 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00