Re: Major features for 9.1

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Jeff Davis" <pgsql(at)j-davis(dot)com>
Cc: <pgsql-advocacy(at)postgresql(dot)org>
Subject: Re: Major features for 9.1
Date: 2011-04-06 20:18:54
Message-ID: 4D9C845E020000250003C467@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy

Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On ons, 2011-04-06 at 11:01 -0700, Jeff Davis wrote:

>> One of the use cases of SSI is to enforce constraints, which are
>> certainly of interest to DBAs.
>
> Well, but users can freely change the isolation level, so it would
> not really be an effective constraint mechanism.

In our shop we plan to have a trigger check to ensure the isolation
level is serializable for all production tables. In the long run,
it sure would be convenient to have a GUC setting to prohibit
explicitly setting the isolation level to something less strict than
the default, but it didn't seem wise to try to do that in the
initial release with the feature. People are probably going to want
a little wiggle room until the technique has some miles on it.

So, sure -- in our shop a user can change the isolation level, but
if they try to modify production data they will get an error with
such a setting, and if they view data from a read only transaction
in a state where a transient anomaly is visible to them, I guess
that's on them.

-Kevin

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Roy Hann 2011-04-06 20:40:04 Re: Major features for 9.1
Previous Message Peter Eisentraut 2011-04-06 20:06:40 Re: Major features for 9.1