Isolation levels READ UNCOMMITTED and REPEATABLE READ - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Isolation levels READ UNCOMMITTED and REPEATABLE READ
Date
Msg-id Pine.LNX.4.44.0310091852440.32317-100000@peter.localdomain
Whole thread Raw
Responses Re: Isolation levels READ UNCOMMITTED and REPEATABLE READ
Re: Isolation levels READ UNCOMMITTED and REPEATABLE READ
List pgsql-hackers
I think we could allow users to set the transaction isolation level to
READ UNCOMMITTED or REPEATABLE READ and internally behave like READ
COMMITTED or SERIALIZABLE, respectively.  The SQL standard seems to allow
this:

[speaking about SET TRANSACTION]
        5) The isolation level of TXN is set to an implementation-defined           isolation level that will not
exhibitany of the phenomena that           the explicit or implicit <level of isolation> would not exhibit,
asspecified in Table 10, "SQL-transaction isolation levels and           the three phenomena".
 

This says that the SQL implementation can always isolate more than the
user requested, just not less.

If we did this, it would make the SQL interface more complete at little
cost.

Comments?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] [COMMITTERS] pgsql-server/src/template bsdi freebsd netbsd
Next
From: Bruce Momjian
Date:
Subject: Re: [PORTS] [COMMITTERS] pgsql-server/src/template bsdi freebsd