Re: [PATCH] Docs: Make notes on sequences and rollback more obvious

Поиск
Список
Период
Сортировка
От Nicolas Barbier
Тема Re: [PATCH] Docs: Make notes on sequences and rollback more obvious
Дата
Msg-id CAP-rdTZyUp-xinyOkPrSEwQzybufBoC0mpc7cNOYCHeoV_16Pg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Docs: Make notes on sequences and rollback more obvious  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: [PATCH] Docs: Make notes on sequences and rollback more obvious  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-hackers
2012/8/7 Kevin Grittner <Kevin.Grittner@wicourts.gov>:

> I also think it's a problem that one can get through the entire
> "Concurrency Control" chapter (mvcc.sgml) without a clue that
> sequences aren't transactional.

It is possible to say that they *are* transactional when considering
the following definition: nextval() doesn’t always give you “the” next
value, but “some” next value that is higher than the one gotten by any
preceding transactions.

I personally like it better to introduce this minor complexity in the
definition of sequences, rather than messing with the definition of
transactionality.

Nicolas

--
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] Docs: Make notes on sequences and rollback more obvious
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] Docs: Make notes on sequences and rollback more obvious