Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0

From: "Yasuo Ohgaki" <yasuo_ohgaki(at)hotmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Enrico Mangano" <enrico(dot)mangano(at)nethouse(dot)it>
Cc: <pgsql-general(at)postgresql(dot)org>, "Alessandro Del Sarto" <alessandro(dot)delsarto(at)nethouse(dot)it>
Subject: Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0
Date: 2001-06-20 06:53:00
Message-ID: OE52QHtMFaukyCKDkb90000e76b@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.)

Setting session characteristics would set it for session, but
I guess he want to set transaction isolation level for a transaction
in this case??
# begin;
# set transaction isolation level serializable;
# show variable;
NOTICE: TRANSACTION ISOLATION LEVEL is SERIALIZABLE
SHOW VARIABLE
(Don't forget to set isolation level each transaction that needs serializable
level isolation.)
--
Yasuo Ohgaki

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dustin Sallings 2001-06-20 10:25:01 index on a box
Previous Message Namrata 2001-06-20 06:05:50 SSL problem