Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4983222

Browse files
committed
Fix incorrect example of to_timestamp() usage.
Must use HH24 not HH to read a hour value exceeding 12.This was already fixed in HEAD in commitd3cd36a, but I didn't thinkof backpatching it.Report:https://postgr.es/m/20161229170043.10139.21416@wrigleys.postgresql.org
1 parent5835998 commit4983222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5945,7 +5945,7 @@ SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
59455945
<para>
59465946
Here is a more
59475947
complex example:
5948-
<literal>to_timestamp('15:12:02.020.001230', 'HH:MI:SS.MS.US')</literal>
5948+
<literal>to_timestamp('15:12:02.020.001230', 'HH24:MI:SS.MS.US')</literal>
59495949
is 15 hours, 12 minutes, and 2 seconds + 20 milliseconds +
59505950
1230 microseconds = 2.021230 seconds.
59515951
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp