Re: nextval parameter is not clear

2022-11-27 Thread Laurenz Albe
On Sat, 2022-11-26 at 23:22 -0500, Kirk Wolak wrote: > Your feedback would be appreciated. > --- a/doc/src/sgml/func.sgml > +++ b/doc/src/sgml/func.sgml > @@ -17625,6 +17625,11 @@ $.* ? (@ like_regex "^\\d+$") > command. > > > + > +SELECT nextval('myseq'::regclass); > + >

Re: nextval parameter is not clear

2022-11-27 Thread Tom Lane
Laurenz Albe writes: > Now I think that is taking it too far. Your code sample would be great > for a tutorial, but it is too elaborate for the technical documentation. > The example should focus on the sequence functions, but more than half > of the code describes other parts of PostgreSQL: Yea