Re: thw rewriter and default values, again

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: thw rewriter and default values, again
Дата
Msg-id 87psvb4ec3.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на thw rewriter and default values, again  (Jaime Casanova <systemguards@gmail.com>)
Ответы Re: thw rewriter and default values, again  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-hackers
Jaime Casanova <systemguards@gmail.com> writes:

> The only problem i have found until now is that
> update v_foo set col1 = DEFAULT; execute nextval twice per every record.
> so there will be a gasp between numbers, but AFAIK nextval has no guarantee
> of returning sequential numbers.

While there's no guarantee that strong there's still an expected behaviour.
sequences generate sequential numbers and only skip in specific cases.

I think this would still surprise and bother most users.

-- 
greg



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

Предыдущее
От: Jochem van Dieten
Дата:
Сообщение: Re: overlaps() does not work as expected?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: thw rewriter and default values, again