Thread: BUG #12571: Web site documentation error for make_timestamp

BUG #12571: Web site documentation error for make_timestamp

From
alanm@cc.hawaii.edu
Date:
The following bug has been logged on the website:

Bug reference:      12571
Logged by:          Alan Mogi
Email address:      alanm@cc.hawaii.edu
PostgreSQL version: Unsupported/Unknown
Operating system:   N/A
Description:

http://www.postgresql.org/docs/9.4/static/functions-datetime.html

make_timestamp example is :
make_timestamp(1-23, 7, 15, 8, 15, 23.5)
2013-07-15 08:15:23.5

1-23 probably should be  2013

and example for make_timestamptz
shows same example from make_timestamp
and probably should show appropriate example

Re: BUG #12571: Web site documentation error for make_timestamp

From
Alvaro Herrera
Date:
alanm@cc.hawaii.edu wrote:
> The following bug has been logged on the website:
>
> Bug reference:      12571
> Logged by:          Alan Mogi
> Email address:      alanm@cc.hawaii.edu
> PostgreSQL version: Unsupported/Unknown
> Operating system:   N/A
> Description:
>
> http://www.postgresql.org/docs/9.4/static/functions-datetime.html
>
> make_timestamp example is :
> make_timestamp(1-23, 7, 15, 8, 15, 23.5)
> 2013-07-15 08:15:23.5
>
> 1-23 probably should be  2013
>
> and example for make_timestamptz
> shows same example from make_timestamp
> and probably should show appropriate example

Uh, oops.  Fixed both problems, thanks for pointing them out.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services