Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a2ac3b8

Browse files
committed
doc: Fix typos in make_timestamp{,tz} examples
Pointed out by Alan Mogi (bug #12571)
1 parent 94bc1c5 commit a2ac3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6813,7 +6813,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
68136813
<entry>
68146814
Create timestamp from year, month, day, hour, minute and seconds fields
68156815
</entry>
6816-
<entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
6816+
<entry><literal>make_timestamp(2013, 7, 15, 8, 15, 23.5)</literal></entry>
68176817
<entry><literal>2013-07-15 08:15:23.5</literal></entry>
68186818
</row>
68196819

@@ -6840,7 +6840,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
68406840
and seconds fields. When <parameter>timezone</parameter> is not specified,
68416841
then current time zone is used.
68426842
</entry>
6843-
<entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
6843+
<entry><literal>make_timestamptz(2013, 7, 15, 8, 15, 23.5)</literal></entry>
68446844
<entry><literal>2013-07-15 08:15:23.5+01</literal></entry>
68456845
</row>
68466846

0 commit comments

Comments
 (0)