8000 doc: clarify wording about phantom reads · postgres/postgres@f831a4b · GitHub
[go: up one dir, main page]

Skip to content

Commit f831a4b

Browse files
committed
doc: clarify wording about phantom reads
Reported-by: akhilhello@gmail.com Discussion: https://postgr.es/m/165222922369.669.10475917322916060899@wrigleys.postgresql.org Backpatch-through: 10
1 parent 2f6b8c2 commit f831a4b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/src/sgml/high-availability.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2326,7 +2326,7 @@ LOG: database system is ready to accept read only connections
23262326
Currently, temporary table creation is not allowed during read only
23272327
transactions, so in some cases existing scripts will not run correctly.
23282328
This restriction might be relaxed in a later release. This is
2329-
both a SQL Standard compliance issue and a technical issue.
2329+
both a SQL standard compliance issue and a technical issue.
23302330
</para>
23312331

23322332
<para>

doc/src/sgml/mvcc.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@
277277

278278
<para>
279279
The table also shows that PostgreSQL's Repeatable Read implementation
280-
does not allow phantom reads. Stricter behavior is permitted by the
281-
SQL standard: the four isolation levels only define which phenomena
282-
must not happen, not which phenomena <emphasis>must</emphasis> happen.
280+
does not allow phantom reads. This is acceptable under the SQL
281+
standard because the standard specifies which anomalies must
282+
<emphasis>not</emphasis> occur at certain isolation levels; higher
283+
guarantees are acceptable.
283284
The behavior of the available isolation levels is detailed in the
284285
following subsections.
285286
</para>

0 commit comments

Comments
 (0)
0