postgresql/src/backend
Andrew Dunstan ab14a73a6c Use EncodeDateTime instead of to_char to render JSON timestamps.
Per gripe from Peter Eisentraut and Tom Lane.

The output is slightly different, but still ISO 8601 compliant: to_char
doesn't output the minutes when time zone offset is an integer number of
hours, while EncodeDateTime outputs ":00".

The code is slightly adapted from code in xml.c
2014-06-03 18:26:47 -04:00
..
access Fix error when trying to delete page with half-dead left sibling. 2014-05-25 18:18:09 -04:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
catalog pgindent run for 9.4 2014-05-06 12:12:18 -04:00
commands Prevent auto_explain from changing the output of a user's EXPLAIN. 2014-05-20 12:20:47 -04:00
executor Improve comment for tricky aspect of index-only scans. 2014-05-06 19:27:43 -07:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib pgindent run for 9.4 2014-05-06 12:12:18 -04:00
libpq pgindent run for 9.4 2014-05-06 12:12:18 -04:00
main Make fallback implementation of pg_memory_barrier() work. 2014-05-17 18:29:46 -04:00
nodes pgindent run for 9.4 2014-05-06 12:12:18 -04:00
optimizer Revert "Auto-tune effective_cache size to be 4x shared buffers" 2014-05-08 20:49:38 -04:00
parser Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
po Translation updates 2014-05-10 22:16:59 -04:00
port pgindent run for 9.4 2014-05-06 12:12:18 -04:00
postmaster Fix unportable setvbuf() usage in initdb. 2014-05-15 15:57:54 -04:00
regex pgindent run for 9.4 2014-05-06 12:12:18 -04:00
replication Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
rewrite pgindent run for 9.4 2014-05-06 12:12:18 -04:00
snowball Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
storage Fix misc typos in comments. 2014-05-23 08:16:21 -04:00
tcop Set the process latch when processing recovery conflict interrupts. 2014-06-03 14:02:54 +02:00
tsearch pgindent run for 9.4 2014-05-06 12:12:18 -04:00
utils Use EncodeDateTime instead of to_char to render JSON timestamps. 2014-06-03 18:26:47 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Get rid of use of dlltool in Mingw builds. 2014-02-11 12:56:20 -05:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00