From: | Markus Schaber <schabi(at)logix-tt(dot)com> |
---|---|
To: | |
Cc: | PostgreSQL-development hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: timestamptz alias |
Date: | 2006-10-03 09:20:35 |
Message-ID: | 45222B63.2070608@logix-tt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-hackers |
Hi, Jim,
Jim Nasby wrote:
> There's a difference between promoting and withholding info. I'd rather
> see us explicitly state which is preferred and why.
Here's a small patch that adds an appropriate explanation.
Index: doc/src/sgml/datatype.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/datatype.sgml,v
retrieving revision 1.176
diff -u -r1.176 datatype.sgml
--- doc/src/sgml/datatype.sgml 22 Sep 2006 16:20:00 -0000 1.176
+++ doc/src/sgml/datatype.sgml 3 Oct 2006 09:14:32 -0000
@@ -1372,6 +1372,17 @@
</para>
</note>
+ <note>
+ <para>
+ <productname>PostgreSQL</productname> also supports the aliases
+ <type>timestamptz</type> for <type>timestamp with time zone</type>
+ and <type>timetz</type> for <type>time with time zone</type>. It
+ is recommended to avoid them, as the more verbose variants comply
+ to the SQL standard, and thus are more portable. But there are no
+ plans to drop the short aliases in future versions.
+ </para>
+ </note>
+
<para>
<type>time</type>, <type>timestamp</type>, and
<type>interval</type> accept an optional precision value
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-10-03 15:33:02 | Re: timestamptz alias |
Previous Message | Jim Nasby | 2006-10-03 01:26:51 | Re: timestamptz alias |
From | Date | Subject | |
---|---|---|---|
Next Message | mark | 2006-10-03 09:56:11 | Re: Faster StrNCpy |
Previous Message | Joachim Wieland | 2006-10-03 08:38:04 | Re: src/tools/msvc usage instructions |