From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Jan Behrens <jbe-mlist@magnetkern.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Transaction isolation level Repeatable Read Read Only vs Serializable Read Only
Date: Fri, 27 Nov 2020 05:24:04 +0100
Message-ID: <d38b412d9e4866ba008d5e649268570c175b2b04.camel@cybertec.at> (raw)
In-Reply-To: <20201126234509.b856ad06c6c532f843163a57@magnetkern.de>
References: <20201126234509.b856ad06c6c532f843163a57@magnetkern.de>
On Thu, 2020-11-26 at 23:45 +0100, Jan Behrens wrote:
> I understand that in a read+write scenario, two concurrent transactions may still lead to
> a result that could not have occurred if those two transactions were executed one after the other.
> However, in a read-only case, I do not see how REPEATABLE READ could differ from SERIALIZABLE. Yet [1] explains that:
There is an example in the Wiki:
https://wiki.postgresql.org/wiki/SSI#Read_Only_Transactions
In that example, serializability is broken only because of a READ ONLY transaction.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, jbe-mlist@magnetkern.de
Subject: Re: Transaction isolation level Repeatable Read Read Only vs Serializable Read Only
In-Reply-To: <d38b412d9e4866ba008d5e649268570c175b2b04.camel@cybertec.at>
References: <20201126234509.b856ad06c6c532f843163a57@magnetkern.de> <d38b412d9e4866ba008d5e649268570c175b2b04.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox