Re: Wrong parameter names for make_interval (Postgres 13)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Wrong parameter names for make_interval (Postgres 13)
Date: 2020-10-05 14:33:46
Message-ID: CAFj8pRBXRGRTz-hVtQfmkqCGAh9R3THhmuVsg9B4ZRfjyau3dw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

po 5. 10. 2020 v 15:56 odesílatel Thomas Kellerer <shammat(at)gmx(dot)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
>
>
>

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2020-10-05 15:53:58 Re: Wrong parameter names for make_interval (Postgres 13)
Previous Message Thomas Kellerer 2020-10-05 13:56:46 Wrong parameter names for make_interval (Postgres 13)