Re: transaction isolationa level - SERIALIZABLE

From: Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: transaction isolationa level - SERIALIZABLE
Date: 2013-05-13 22:25:34
Message-ID: CABnqL33_HhQe2+wK+3162oUkCxgvGmROkA1GbNFn5Ocw_HFgWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

That's what I thought. Thank you.

regards
mk

2013/5/13 Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>

> On 05/13/2013 02:22 AM, Marcin Krawczyk wrote:
>
>> Hi list,
>>
>> I have some problems with SERIALIZABLE isolation level, namely my users
>> are plagued with concurrency errors. As of postgres 9.1 (which I'm
>> running) there has been a change to SERIALIZABLE logic, unfortunately my
>> application has not been updated to work with the new logic. I don't
>> have an access to it's code and the only thing I can do is to report the
>> issue to the authors. But before I do it, since I don't actually
>> need SERIALIZABLE for my use, is it possible to have transactions always
>> run in default READ COMMITTED mode, regardless of application level SET
>> SESSION CHARACTERISTICS AS TRANSACTION command ... ? (like e.g in
>> postgres 8.1 where SERIALIZABLE = READ COMMITED)
>>
>
> I don't think so:
>
> http://www.postgresql.org/**docs/9.1/interactive/config-**setting.html<http://www.postgresql.org/docs/9.1/interactive/config-setting.html>
>
> "Furthermore, it is possible to assign a set of parameter settings to a
> user or a database. Whenever a session is started, the default settings for
> the user and database involved are loaded. The commands ALTER ROLE and
> ALTER DATABASE, respectively, are used to configure these settings.
> Per-database settings override anything received from the postgres
> command-line or the configuration file, and in turn are overridden by
> per-user settings; both are overridden by per-session settings.
>
>
>>
>> regards
>> mk
>>
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)gmail(dot)com
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message George Woodring 2013-05-14 14:08:56 array_agg() with join question
Previous Message Adrian Klaver 2013-05-13 14:31:14 Re: transaction isolationa level - SERIALIZABLE