9.17. Sequence Manipulation Functions

Started by PG Bug reporting formover 4 years ago3 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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!

#2Pantelis Theodosiou
ypercube@gmail.com
In reply to: PG Bug reporting form (#1)
Re: 9.17. Sequence Manipulation Functions

On Fri, Oct 8, 2021 at 12:12 PM PG Doc comments form <noreply@postgresql.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

#3Andrii Cherevko
mzduneberet@gmail.com
In reply to: Pantelis Theodosiou (#2)
Re: 9.17. Sequence Manipulation Functions

Thanks a lot!

пт, 8 жовт. 2021 о 16:27 Pantelis Theodosiou <ypercube@gmail.com> пише:

Show quoted text

On Fri, Oct 8, 2021 at 12:12 PM PG Doc comments form <
noreply@postgresql.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