Re: 9.17. Sequence Manipulation Functions

From: Pantelis Theodosiou <ypercube(at)gmail(dot)com>
To: mzduneberet(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: 9.17. Sequence Manipulation Functions
Date: 2021-10-08 13:27:25
Message-ID: CAE3TBxwM27MOPQjXQHyGzyHHMnXQ4=j1rCFPXkg1mASj0JhnKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, Oct 8, 2021 at 12:12 PM PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/functions-sequence.html
> Description:
>
> Just a slip of the pen in the table "Function Description", in tha string:
> "setval ( regclass, bigint [, boolean ] ) → bigint", i think that something
> incorrect with the second comma. Thanks!
>

I don't see anything wrong. The square brackets show that this (3rd)
parameter is optional. If you use three parameters then you need a comma
between the 2nd and 3rd.

It's common to see [, parameter ] in function definitions. Look in text
functions for many similar examples.

Best regards,
Pantelis Theodosiou

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message rir 2021-10-09 21:31:07 Re: small patch
Previous Message Laurenz Albe 2021-10-08 12:47:43 Re: small patch