pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: louis-claude.canon@univ-fcomte.fr
To: pgsql-bugs@postgresql.org
Subject: BUG #7623: Inconsistency on transaction isolation documentation
Date: Fri, 26 Oct 2012 19:15:58 +0000
Message-ID: <E1TRpNu-00042d-PB@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7623
Logged by:          Louis-Claude Canon
Email address:      louis-claude.canon@univ-fcomte.fr
PostgreSQL version: 9.2.1
Operating system:   All
Description:        

In the first paragraph of Section 13.2.1, it is first stated that "[with]
this isolation level, a SELECT query [...] never sees [...] changes
committed during query execution by concurrent transactions." It is my
understanding that this is untrue (as the rest of the paragraph seems to
imply).

Then, in the same subsection, an example is given in which a DELETE
statement is affected by an uncommitted UPDATE. It is unclear to me if this
still corresponds to the standard "Committed Read" isolation level. It could
be clearer with more precision: when is committed the DELETE statement? What
is the snapshot that it sees (when does the transaction start)? Or maybe
this standard isolation level only specified that SELECT statements must not
be affected by uncommitted changes?

As I am not an expert, I cannot guarantee that there is indeed any issue.
However, I believe it could be useful that an expert proof-reads or reviews
this subsection. For example, I am unsure whether any query will see a
consistent snapshot with only committed transactions (as it is stated at
first) or if uncommitted transactions may have an impact (as the last
example suggests).

I would also suggest to following change for clarity (or the contrary
change):
"The point at issue above is whether or not a single command sees an
absolutely consistent view of the database." -> "The point at issue above is
that any single command sees an absolutely consistent view of the database."





view thread (3+ messages)  latest in thread

Message-ID: <E1TRpNu-00042d-PB@wrigleys.postgresql.org>
Permalink:  ../E1TRpNu-00042d-PB@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TRpNu-00042d-PB@wrigleys.postgresql.org

 · 

reply

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-bugs@postgresql.org
  Cc: louis-claude.canon@univ-fcomte.fr
  Subject: Re: BUG #7623: Inconsistency on transaction isolation documentation
  In-Reply-To: <E1TRpNu-00042d-PB@wrigleys.postgresql.org>
  References: <E1TRpNu-00042d-PB@wrigleys.postgresql.org>

* 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