1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

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
This commit is contained in:
Bruce Momjian 2022-06-22 14:33:26 -04:00
parent 604651880c
commit 1463f22d42
2 changed files with 5 additions and 4 deletions

View File

@ -2194,7 +2194,7 @@ HINT: You can then restart the server after making the necessary configuration
Currently, temporary table creation is not allowed during read-only Currently, temporary table creation is not allowed during read-only
transactions, so in some cases existing scripts will not run correctly. transactions, so in some cases existing scripts will not run correctly.
This restriction might be relaxed in a later release. This is This restriction might be relaxed in a later release. This is
both an SQL Standard compliance issue and a technical issue. both an SQL standard compliance issue and a technical issue.
</para> </para>
<para> <para>

View File

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