Commit 412f604a authored by Alvaro Herrera's avatar Alvaro Herrera

doc: Fix typos in make_timestamp{,tz} examples

Pointed out by Alan Mogi (bug #12571)
parent 9d54b932
...@@ -6830,7 +6830,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); ...@@ -6830,7 +6830,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<entry> <entry>
Create timestamp from year, month, day, hour, minute and seconds fields Create timestamp from year, month, day, hour, minute and seconds fields
</entry> </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> <entry><literal>2013-07-15 08:15:23.5</literal></entry>
</row> </row>
...@@ -6857,7 +6857,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); ...@@ -6857,7 +6857,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
and seconds fields. When <parameter>timezone</parameter> is not specified, and seconds fields. When <parameter>timezone</parameter> is not specified,
then current time zone is used. then current time zone is used.
</entry> </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> <entry><literal>2013-07-15 08:15:23.5+01</literal></entry>
</row> </row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment