pgsql: Fix incorrect example of to_timestamp() usage.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix incorrect example of to_timestamp() usage.
Date: 2016-12-29 23:07:29
Message-ID: E1cMjnF-0007xG-IJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4191b9ece43d28cbf8b1257d1a97896184fc1fdf

Modified Files
--------------
doc/src/sgml/func.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-12-31 23:39:18 pgsql: Fix unstable regression test results.
Previous Message Tom Lane 2016-12-29 21:57:48 pgsql: Remove manual breaks in NodeTag assignments to fix duplicate tag