]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect example of to_timestamp() usage.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Dec 2016 23:05:34 +0000 (18:05 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Dec 2016 23:05:34 +0000 (18:05 -0500)
commitf7e7d6fcefc4083d929075be5e121114086a6f98
tree6eb3db721f07c1525c58eb7cf7510320a52988a5
parent21e24eb9a0829fb40011055e389cbcf50670521d
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 commit d3cd36a13, but I didn't think
of backpatching it.

Report: https://postgr.es/m/20161229170043.10139.21416@wrigleys.postgresql.org
doc/src/sgml/func.sgml