Commit 66c8040d authored by Bruce Momjian's avatar Bruce Momjian

docs: clarify when MVCC snapshot is taken

Report by Álvaro Hernández Tortosa
parent 843cd0bf
...@@ -422,8 +422,9 @@ COMMIT; ...@@ -422,8 +422,9 @@ COMMIT;
<para> <para>
This level is different from Read Committed in that a query in a This level is different from Read Committed in that a query in a
repeatable read transaction sees a snapshot as of the start of the repeatable read transaction sees a snapshot as of the start of the
first non-transaction-control statement in the
<emphasis>transaction</>, not as of the start <emphasis>transaction</>, not as of the start
of the current query within the transaction. Thus, successive of the current statement within the transaction. Thus, successive
<command>SELECT</command> commands within a <emphasis>single</> <command>SELECT</command> commands within a <emphasis>single</>
transaction see the same data, i.e., they do not see changes made by transaction see the same data, i.e., they do not see changes made by
other transactions that committed after their own transaction started. other transactions that committed after their own transaction started.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment