Re: using sequences

Поиск
Список
Период
Сортировка
От Erik Price
Тема Re: using sequences
Дата
Msg-id 3EEA421D.9000001@ptc.com
обсуждение исходный текст
Ответ на Re: using sequences  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: using sequences  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general

Bruno Wolff III wrote:

> If you are trying to do this you probably don't really understand sequences.
> There aren't any common good reasons for trying to get the value of a sequence
> before you have generated a value in the current session.

It seems you're right that I dont understand them.  However, I don't
have any intent of calling it like this (without having generated a
value), rather, I was simply curious and playing around with the
commandline client, and following some instructions I had seen in
another post.  I didn't realize that it needed to be "activated" for the
current session.



Erik


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

Предыдущее
От: weigelt@metux.de
Дата:
Сообщение: Re: Question: script to start DB on server reboot
Следующее
От: Erik Price
Дата:
Сообщение: Re: using sequences