From:
Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc:
Michael Paesold <mpaesold(at)gmx(dot)at>,PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: Autocommit off and transaction isolation level
Date:
2003-01-02 15:39:02
Message-ID:
20030102073752.U90763-100000@megazone23.bigpanda.com (view raw or flat )
Thread:
2003-01-02 06:16:58 from "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
2003-01-02 06:34:23 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-02 06:44:21 from "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
2003-01-02 10:52:32 from Manfred Koizar <mkoi-pg(at)aon(dot)at>
2003-01-02 12:29:07 from "Michael Paesold" <mpaesold(at)gmx(dot)at>
2003-01-02 14:33:20 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-02 15:39:02 from Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
2003-01-02 14:29:39 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-02 17:41:21 from "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
2003-01-02 18:58:27 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-02 20:04:12 from "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
2003-01-02 20:20:35 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-02 22:51:55 from "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
2003-01-02 23:16:07 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-04 10:29:40 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2003-01-04 16:02:01 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2003-01-04 23:26:47 from Peter Eisentraut <peter_e(at)gmx(dot)net>
Lists:
pgsql-hackers pgsql-patches
On Thu, 2 Jan 2003, Tom Lane wrote:
> "Michael Paesold" <mpaesold(at)gmx(dot)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.
In response to
pgsql-hackers by date
Next :From: Dennis BjörklundDate: 2003-01-02 16:44:56
Subject : Re: PostgreSQL Password Cracker
Previous :From : Justin CliftDate : 2003-01-02 14:59:23
Subject : Re: PostgreSQL Password Cracker
pgsql-patches by date
Next :From: Patric BechtelDate: 2003-01-02 17:34:47
Subject : Fwd: Patch for streaming resultsets
Previous :From : Tom LaneDate : 2003-01-02 14:33:20
Subject : Re: Autocommit off and transaction isolation level