mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
Clearly document that timestamp alone means timestamp without timezone,
per SQL standard, and mention 7.3 behavior at the end.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.244 2010/02/24 15:54:31 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.245 2010/02/25 18:16:53 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="datatype">
|
<chapter id="datatype">
|
||||||
<title id="datatype-title">Data Types</title>
|
<title id="datatype-title">Data Types</title>
|
||||||
@@ -1523,9 +1523,11 @@ SELECT E'\\xDEADBEEF';
|
|||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
Prior to <productname>PostgreSQL</productname> 7.3, writing just
|
The SQL standard requires that writing just <type>timestamp</type>
|
||||||
<type>timestamp</type> was equivalent to <type>timestamp with
|
be equivalent to <type>timestamp <emphasis>without</> time
|
||||||
time zone</type>. This was changed for SQL compliance.
|
zone</type>, and <productname>PostgreSQL</productname> honors that
|
||||||
|
behavior. (Releases prior to 7.3 treated it as <type>timestamp
|
||||||
|
with time zone</type>.)
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user