Re: Wrong parameter names for make_interval (Postgres 13)
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Pg Docs <pgsql-docs@lists.postgresql.org>
Date: 2020-10-05T14:33:46Z
Lists: pgsql-docs
po 5. 10. 2020 v 15:56 odesílatel Thomas Kellerer <shammat@gmx.net> napsal:
> There is a typo in the parameter names of the make_interval() function.
>
> The parameter names are all defined with plural, not singular as it is
> shown
> in the Postgres 13 manual.
>
> So instead of
>
> make_interval ( [ year int [, month int [, week int [, day int [, hour
> int [, min int [, sec double precision ]]]]]]] )
>
> it should be
>
> make_interval ( [ years int [, months int [, weeks int [, days int
> [,hours int [, mins int [, secs double precision ]]]]]]] )
>
this syntax is not correct too
It should be
make_interval( years int default 0, month int default 0, days int
default 0, hours int default 0, secs double precision default 0)
Regards
Pavel
> Thomas
>
>
>
Commits
-
Doc: fix parameter names in the docs of a couple of functions.
- 9cc3d614a9eb 14.0 landed
- 019eb962fb86 13.1 landed