aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-19 12:43:58 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-19 12:43:58 -0300
commita2ac3b890dfcafcce78625c721bcda2a3ecef514 (patch)
treec8395338d42c6fd76270eaf33a115c031f234483
parent94bc1c58789440f248e65650c811abd4fd9a2886 (diff)
downloadpostgresql-a2ac3b890dfcafcce78625c721bcda2a3ecef514.tar.gz
postgresql-a2ac3b890dfcafcce78625c721bcda2a3ecef514.zip
doc: Fix typos in make_timestamp{,tz} examples
Pointed out by Alan Mogi (bug #12571)
-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 96ba6dffdec..6d4f331a647 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -6813,7 +6813,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<entry>
Create timestamp from year, month, day, hour, minute and seconds fields
</entry>
- <entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
+ <entry><literal>make_timestamp(2013, 7, 15, 8, 15, 23.5)</literal></entry>
<entry><literal>2013-07-15 08:15:23.5</literal></entry>
</row>
@@ -6840,7 +6840,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
and seconds fields. When <parameter>timezone</parameter> is not specified,
then current time zone is used.
</entry>
- <entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
+ <entry><literal>make_timestamptz(2013, 7, 15, 8, 15, 23.5)</literal></entry>
<entry><literal>2013-07-15 08:15:23.5+01</literal></entry>
</row>