Re: Autocommit off and transaction isolation level

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Autocommit off and transaction isolation level
Дата
Msg-id 20030102073752.U90763-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Autocommit off and transaction isolation level  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 2 Jan 2003, Tom Lane wrote:

> "Michael Paesold" <mpaesold@gmx.at> writes:
> > Now setting autocommit=off the set transaction isolation level command does
> > not show any effect:
>
> > billing=# set autocommit to off;
> > SET
> > billing=# set transaction isolation level serializable;
> > SET
>
> SET does not start a transaction block, so this will not work.  You must
> use an explicit BEGIN before setting TRANSACTION ISOLATION LEVEL.
>
> You might instead set default_transaction_isolation to get the behavior
> I think you are looking for.

The overall behavior appears to be against spec, but I figure this was
discussed at the time the set transation was added.




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: PostgreSQL Password Cracker
Следующее
От: Dennis Björklund
Дата:
Сообщение: Re: PostgreSQL Password Cracker