Re: nextval parameter is not clear

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: nextval parameter is not clear
Дата
Msg-id 452493.1669614328@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 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  (Kirk Wolak <wolakk@gmail.com>)
Список pgsql-docs
Laurenz Albe <laurenz.albe@cybertec.at> 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:

Yeah, that stuff seems quite out of place here.

> I am alright with having a CREATE TABLE with a DEFAULT and an INSERT or two;
> whatever it takes to show the functions in a realistic scenario.
> For example, you could INSERT a row that overrides the DEFAULT, then call
> "setval()" to readjust the sequence.

I don't believe we have such detail around very many, if indeed any,
of our other functions' documentation.

            regards, tom lane



В списке pgsql-docs по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: nextval parameter is not clear
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: temporary file size clarification