Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0
Дата
Msg-id Pine.LNX.4.30.0106192012440.724-100000@peter.localdomain
обсуждение исходный текст
Ответ на SET TRANSACTION ISOLATION LEVEL SERIALIZABLE on 7.0  ("Enrico Mangano" <enrico.mangano@nethouse.it>)
Список 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 по дате отправления:

Предыдущее
От: "Dennis B"
Дата:
Сообщение: Postmaster loses bash shell command prompt?
Следующее
От: "Bryan White"
Дата:
Сообщение: Re: Postmaster loses bash shell command prompt?