From: | "Daniel Verite" <daniel(at)manitou-mail(dot)org> |
---|---|
To: | "Kyle Kingsbury" <aphyr(at)jepsen(dot)io> |
Cc: | "PostgreSQL mailing lists" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Potential G2-item cycles under serializable isolation |
Date: | 2020-06-03 11:51:19 |
Message-ID: | 6e4c7e1d-e901-4e84-bf37-66b58d0cf8d3@manitou-mail.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Kyle Kingsbury wrote:
> SQL 92 says that the difference between repeatable read and serializable is
> *exactly* the prohibition of P3 ("phantom").
You're probably refering to Table-9 in SQL-92, showing
that P3 can happen under Repeatable Read and cannot happen
under Serializable.
But it doesn't say that the *only* difference between RR and Serializable
is avoiding P3. When defining P1, P2, P3, it doesn't explicitly say
that these are the only anomalies that can arise from concurrency.
The PG doc refers to the other cases as "serialization anomalies".
Compared to the manual, https://wiki.postgresql.org/wiki/Serializable
has more in-depth explanations on the specifics of PG serializable
implementation.
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Janes | 2020-06-03 12:35:02 | Re: BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data |
Previous Message | PG Bug reporting form | 2020-06-03 07:41:21 | BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data |