pgsql: Use ISO 8601 format for dates converted to JSON, too.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Use ISO 8601 format for dates converted to JSON, too.
Дата
Msg-id E1XJD91-0005Mu-HS@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use ISO 8601 format for dates converted to JSON, too.

Commit f30015b6d794c15d52abbb3df3a65081fbefb1ed made this happen for
timestamp and timestamptz, but it seems pretty inconsistent to not
do it for simple dates as well.

(In passing, I re-pgindent'd json.c.)

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/560e2300b2ab395a367153e37d445fd584281cf7

Modified Files
--------------
doc/src/sgml/release-9.4.sgml |    7 ++++--
src/backend/utils/adt/json.c  |   55 ++++++++++++++++++++++++++++++++---------
2 files changed, 48 insertions(+), 14 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use ISO 8601 format for dates converted to JSON, too.
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: pgsql: Add missing index terms for replication commands in the document