postgres.git / summary / log / commit / refs

commit    412f604adbf025618f1338ea6fed0330bc6a610d
Author:   Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:     Mon Jan 19 15:43:58 2015 +0000

    doc: Fix typos in make_timestamp{,tz} examples
    
    Pointed out by Alan Mogi (bug #12571)


doc/src/sgml/func.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5e7b000da8f..d57243af4ed 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -6830,7 +6830,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); <entry> Create timestamp from year, month, day, hour, minute and seconds fields </entry> - <entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry> + <entry><literal>make_timestamp(2013, 7, 15, 8, 15, 23.5)</literal></entry> <entry><literal>2013-07-15 08:15:23.5</literal></entry> </row> @@ -6857,7 +6857,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); and seconds fields. When <parameter>timezone</parameter> is not specified, then current time zone is used. </entry> - <entry><literal>make_timestamp(1-23, 7, 15, 8, 15, 23.5)</literal></entry> + <entry><literal>make_timestamptz(2013, 7, 15, 8, 15, 23.5)</literal></entry> <entry><literal>2013-07-15 08:15:23.5+01</literal></entry> </row> [parent: 9d54b9323904]