Compatibility GUC for serializable

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Compatibility GUC for serializable
Date: 2011-01-09 18:07:49
Message-ID: 4D29A5150200002500039196@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

There's an issue where we don't seem to have consensus yet, so I
figured I'd bounce it off the list.

If the SSI patch were to be accepted as is, REPEATABLE READ would
continue to provide the exact same snapshot isolation behavior which
both it and SERIALIZABLE do through 9.0, and SERIALIZABLE would
always use SSI on top of the snapshot isolation to prevent
serialization anomalies. In his review, Jeff argued for a
compatibility GUC which could be changed to provide legacy behavior
for SERIALIZABLE transactions -- if set, SERIALIZABLE would fall back
to working the same as REPEATABLE READ.

In an off-list exchange with me, David Fetter expressed opposition to
this, as a foot-gun. I'm not sure where anyone else stands on this.
Personally, I don't care a whole lot because it's trivial to add, so
that seems to leave the vote at 1 to 1. Anyone else care to tip the
scales?

-Kevin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2011-01-09 18:19:51 Re: Compatibility GUC for serializable
Previous Message Kevin Grittner 2011-01-09 17:55:49 SSI and 2PC