Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0 - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0
Date
Msg-id Pine.LNX.4.30.0106192012440.724-100000@peter.localdomain
Whole thread Raw
In response to SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0  ("Enrico Mangano" <enrico.mangano@nethouse.it>)
List pgsql-general
Enrico Mangano writes:

> uidb=# SET TRANSACTION ISOLATION LEVEL SERIALIZABLE ;
> SET VARIABLE
> uidb=# SHOW TRANSACTION ISOLATION LEVEL ;
> NOTICE:  TRANSACTION ISOLATION LEVEL is READ COMMITTED
> SHOW VARIABLE
>
> Has the variable really been setted?

Yes, but if was reset after the transaction finished.  What you're after
is SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL SERIALIZABLE
in 7.1.  (Yes, if I had been in charge I would have chosen a more concise
name.)

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: "Dennis B"
Date:
Subject: Postmaster loses bash shell command prompt?
Next
From: "Bryan White"
Date:
Subject: Re: Postmaster loses bash shell command prompt?