Skip to content

Commit 412f604

Browse files
committed
doc: Fix typos in make_timestamp{,tz} examples
Pointed out by Alan Mogi (bug #12571)
1 parent 9d54b93 commit 412f604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6830,7 +6830,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
68306830
<entry>
68316831
Create timestamp from year, month, day, hour, minute and seconds fields
68326832
</entry>
6833-
<entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
6833+
<entry><literal>make_timestamp(2013, 7, 15, 8, 15, 23.5)</literal></entry>
68346834
<entry><literal>2013-07-15 08:15:23.5</literal></entry>
68356835
</row>
68366836

@@ -6857,7 +6857,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
68576857
and seconds fields. When <parameter>timezone</parameter> is not specified,
68586858
then current time zone is used.
68596859
</entry>
6860-
<entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry>
6860+
<entry><literal>make_timestamptz(2013, 7, 15, 8, 15, 23.5)</literal></entry>
68616861
<entry><literal>2013-07-15 08:15:23.5+01</literal></entry>
68626862
</row>
68636863

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy