aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/release-9.4.sgml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/sgml/release-9.4.sgml b/doc/src/sgml/release-9.4.sgml
index 7ae67e0cec2..5330c425d3d 100644
--- a/doc/src/sgml/release-9.4.sgml
+++ b/doc/src/sgml/release-9.4.sgml
@@ -120,7 +120,7 @@
<listitem>
<para>
- When converting values of type <type>timestamp</>
+ When converting values of type <type>date</>, <type>timestamp</>
or <type>timestamptz</>
to <link linkend="datatype-json"><type>JSON</type></link>, render the
values in a format compliant with ISO 8601 (Andrew Dunstan)
@@ -129,7 +129,10 @@
<para>
Previously such values were rendered according to the current
<xref linkend="guc-datestyle"> setting; but many JSON processors
- require timestamps to be in ISO 8601 format.
+ require timestamps to be in ISO 8601 format. If necessary, the
+ previous behavior can be obtained by explicitly casting the datetime
+ value to <type>text</> before passing it to the JSON conversion
+ function.
</para>
</listitem>