Serializable description seems misleading?

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Serializable description seems misleading?
Дата
Msg-id 157601459454.18137.13976433380958895558@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Serializable description seems misleading?  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/transaction-iso.html
Description:

Let's say I have two transactions running in Serializable isolation:
T1: Reads a row
T2: Reads the same row
T1: Updates the row
T1: Commits
T2: Commits

You will not get an error on the second commit. These appear to fit the
description of concurrent transactions, and running one before the other
would give different results in the reading of the row by T2, depending on
which transaction was executed first. So how does this square with the docs
that state "it monitors for conditions which could make execution of a
concurrent set of serializable transactions behave in a manner inconsistent
with all possible serial (one at a time) executions".

This seems quite misleading, but I understand there may just be an aspect of
this that I am not understanding.

В списке pgsql-docs по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: I suggest improving install steps for CentOS 8
Следующее
От: Yasuhiro Horimoto
Дата:
Сообщение: Re: I suggest improving install steps for CentOS 8