Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
56a6317b
Commit
56a6317b
authored
Jan 24, 2013
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: add mention of ssi read anomolies to mvcc docs
From Jeff Davis, modified by Kevin Grittner
parent
9971f6f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
doc/src/sgml/mvcc.sgml
doc/src/sgml/mvcc.sgml
+17
-2
No files found.
doc/src/sgml/mvcc.sgml
View file @
56a6317b
...
@@ -515,8 +515,9 @@ ERROR: could not serialize access due to concurrent update
...
@@ -515,8 +515,9 @@ ERROR: could not serialize access due to concurrent update
</indexterm>
</indexterm>
<para>
<para>
The <firstterm>Serializable</firstterm> isolation level provides the strictest transaction
The <firstterm>Serializable</firstterm> isolation level provides
isolation. This level emulates serial transaction execution,
the strictest transaction isolation. This level emulates serial
transaction execution for all committed transactions;
as if transactions had been executed one after another, serially,
as if transactions had been executed one after another, serially,
rather than concurrently. However, like the Repeatable Read level,
rather than concurrently. However, like the Repeatable Read level,
applications using this level must
applications using this level must
...
@@ -571,6 +572,20 @@ ERROR: could not serialize access due to read/write dependencies among transact
...
@@ -571,6 +572,20 @@ ERROR: could not serialize access due to read/write dependencies among transact
computed by A.
computed by A.
</para>
</para>
<para>
When relying on Serializable transactions to prevent anomalies, it is
important that any data read from a permanent user table not be
considered valid until the transaction which read it has successfully
committed. This is true even for read-only transactions, except that
data read within a <firstterm>deferrable</firstterm> read-only
transaction is known to be valid as soon as it is read, because such a
transaction waits until it can acquire a snapshot guaranteed to be free
from such problems before starting to read any data. In all other cases
applications must not depend on results read during a transaction that
later aborted; instead, they should retry the transaction until it
succeeds.
</para>
<para>
<para>
To guarantee true serializability <productname>PostgreSQL</productname>
To guarantee true serializability <productname>PostgreSQL</productname>
uses <firstterm>predicate locking</>, which means that it keeps locks
uses <firstterm>predicate locking</>, which means that it keeps locks
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment