Re: nextval parameter is not clear
От
Bruce Momjian
Тема
Re: nextval parameter is not clear
Дата
Msg-id
Y30ekxQpiIaG9eSl@momjian.us
Ответ на
nextval parameter is not clear (PG Doc comments form)
Список
Дерево обсуждения
nextval parameter is not clear PG Doc comments form <noreply@postgresql.org>
Tutorial book with runable code for Postgres? Matous Jan Fialka <mjf@mjf.cz>
Re: Tutorial book with runable code for Postgres? Kirk Wolak <wolakk@gmail.com>
Re: Tutorial book with runable code for Postgres? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Tutorial book with runable code for Postgres? Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Bruce Momjian <bruce@momjian.us>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear "David G. Johnston" <david.g.johnston@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Laurenz Albe <laurenz.albe@cybertec.at>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear "David G. Johnston" <david.g.johnston@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Laurenz Albe <laurenz.albe@cybertec.at>
Re: nextval parameter is not clear "David G. Johnston" <david.g.johnston@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Laurenz Albe <laurenz.albe@cybertec.at>
Re: nextval parameter is not clear Tom Lane <tgl@sss.pgh.pa.us>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Laurenz Albe <laurenz.albe@cybertec.at>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear "David G. Johnston" <david.g.johnston@gmail.com>
Re: nextval parameter is not clear Laurenz Albe <laurenz.albe@cybertec.at>
Re: nextval parameter is not clear Александр Илюшкин <ailjushkin@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear Tom Lane <tgl@sss.pgh.pa.us>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
Re: nextval parameter is not clear "David G. Johnston" <david.g.johnston@gmail.com>
Re: nextval parameter is not clear Kirk Wolak <wolakk@gmail.com>
On Tue, Oct 18, 2022 at 08:17:12AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/functions-sequence.html
> Description:
>
> https://www.postgresql.org/docs/14/functions-sequence.html
>
> I don't see here any hints about how to use this function, and what the
> regclass means.
> How should I understand that sequence_name should be passed as string in
> nextval('sequence_name') ?
>
> Maybe add some links to other topics or clarify examples for nextval here.
Uh, the last sentence in that section says:
The sequence to be operated on by a sequence function is specified by a
regclass argument, which is simply the OID of the sequence in the
pg_class system catalog. You do not have to look up the OID by hand,
however, since the regclass data type's input converter will do the work
for you. See Section 8.19 for details.
--
Bruce Momjian https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson
В списке pgsql-docs по дате отправления
От: Bruce Momjian
Дата: