Re: MVCC snapshot timing - Mailing list pgsql-docs

From David Johnston
Subject Re: MVCC snapshot timing
Date
Msg-id 1384307340948-5778039.post@n5.nabble.com
Whole thread Raw
In response to Re: MVCC snapshot timing  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
Bruce Momjian wrote
> Oh, OK, it sounds fine.  The user really doesn't choose what timeline to
> see --- rather, it is the current xid at the time they take their
> snapshot and other running xids that controls that.  You can control
> your transaction isolation level, but that only controls how often you
> take snapshots.

^ This kind of makes my point.

You've described perfectly the mechanics of the system but from a mostly
black-box perspective a user-decision (choosing the isolation level)
directly impacts which point-in-time (xid) is chosen for the snapshot behind
a particular SQL statement.  The fact they can only choose between two
pre-defined and relative points-in-time is a detail to explain later but the
fact is they are required to make such a choice (one is provided by default
but still one chooses - even if through ignorance - to use the default) as
an outcome of MVCC should be included - in some form - in the introduction.
In the current, proposed, and my revisions it is indeed covered but to
various degrees of detail and low/high level focus.

David J.






--
View this message in context: http://postgresql.1045698.n5.nabble.com/MVCC-snapshot-timing-tp5777759p5778039.html
Sent from the PostgreSQL - docs mailing list archive at Nabble.com.


pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: MVCC snapshot timing
Next
From: Peter Eisentraut
Date:
Subject: Re: misleading lang_name case in CREATE FUNCTION doc.