aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-06-14 19:01:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-06-14 19:01:09 +0000
commit8e7349b73806a993f72976bbf7dfaa9b1cf270b8 (patch)
tree4680bc1f298787f0de14472ca81593a546510ba1
parentbbe42a1514f090084a2df55d3c51b5cab2d8e556 (diff)
downloadpostgresql-8e7349b73806a993f72976bbf7dfaa9b1cf270b8.tar.gz
postgresql-8e7349b73806a993f72976bbf7dfaa9b1cf270b8.zip
Fix doc bug: to_timestamp() returns timestamptz, not plain timestamp.
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ecf344453f8..37cc1411f81 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.207 2004/06/13 19:56:49 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.208 2004/06/14 19:01:09 tgl Exp $
PostgreSQL documentation
-->
@@ -3909,7 +3909,7 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
</row>
<row>
<entry><literal><function>to_timestamp</function>(<type>text</type>, <type>text</type>)</literal></entry>
- <entry><type>timestamp</type></entry>
+ <entry><type>timestamp with time zone</type></entry>
<entry>convert string to time stamp</entry>
<entry><literal>to_timestamp('05&nbsp;Dec&nbsp;2000', 'DD&nbsp;Mon&nbsp;YYYY')</literal></entry>
</row>