Re: Alter sequence restart parameter type

2021-04-26 Thread David G. Johnston
On Sunday, April 25, 2021, PG Doc comments form wrote: > > I use postgresql 12.6. I want to restart my sequence something like that: > alter sequence quiz_seq restart with ((select max(id) from quiz)+1); > but I can't do it. Please, clarify. Can I use only plain numbers like > that? alter seque

Alter sequence restart parameter type

2021-04-26 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/12/sql-altersequence.html Description: Hi! I have some question about alter sequence. I can see in your documentation https://www.postgresql.org/docs/12/sql-altersequence.html Synopsis: ALTE