Re: [PATCH] Docs: Make notes on sequences and rollback more obvious
От
Craig Ringer
Тема
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious
Дата
Msg-id
502F539D.8050807@ringerc.id.au
Ответ на
Re: [PATCH] Docs: Make notes on sequences and
rollback more obvious (Kevin Grittner)
Список
Дерево обсуждения
[PATCH] Docs: Make notes on sequences and rollback more obvious Craig Ringer <ringerc@ringerc.id.au>
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>
Re: [PATCH] Docs: Make notes on sequences and rollback more obvious Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious David Fetter <david@fetter.org>
Re: [PATCH] Docs: Make notes on sequences and rollback more obvious Robert Haas <robertmhaas@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 Jeff MacDonald <jam@zoidtechnologies.com>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback more obvious Jeff Janes <jeff.janes@gmail.com>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback more obvious Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
Re: [PATCH] Docs: Make notes on sequences and rollback more obvious Nicolas Barbier <nicolas.barbier@gmail.com>
Re: [PATCH] Docs: Make notes on sequences and rollback
more obvious Craig Ringer <ringerc@ringerc.id.au>
On 08/07/2012 09:45 PM, Kevin Grittner wrote: > 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. I think maybe a mention in the > Introduction section of that chapter with a would be > appropriate. How about this? Is it accurate to suggest that sequences behave as if they were always in "dirty read" isolation? Or would you instead say that "changes made to a sequence are immediately visible to all other transactions" ? [PATCH] Make sure you can't read through mvcc.sgml without realising that SEQUENCEs and SERIAL don't follow the rules. --- doc/src/sgml/mvcc.sgml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml new file mode 100644 index 8f88582..eed1f85 *** a/doc/src/sgml/mvcc.sgml --- b/doc/src/sgml/mvcc.sgml *************** *** 260,265 **** --- 260,276 ---- command . + + + Some PostgreSQL data types and functions have special transactional + behaviour. Notably, SEQUENCEs + behave as if the isolation level is Dirty Read, irrespective + of the current isolation level, and are exempt from transaction + rollback. See . + SEQUENCEs are used by the SERIAL data types. See . + + + Read Committed Isolation Level -- 1.7.11.2 -- Craig Ringer
В списке pgsql-hackers по дате отправления
От: Amit kapila
Дата:
От: Craig Ringer
Дата: