Re: Changing the transaction isolation level within the - Mailing list pgsql-sql

From Markus Schaber
Subject Re: Changing the transaction isolation level within the
Date
Msg-id 43D88B41.9040904@logix-tt.com
Whole thread Raw
In response to Re: Changing the transaction isolation level within the  (Mario Splivalo <mario.splivalo@mobart.hr>)
List pgsql-sql
Hi, Mario,

Mario Splivalo wrote:

>>you need to set the transaction level after the begin and before every
>>other statement... after the begin you have a select that invoke your
>>function so that set is not the first statement...
> 
> But I can't do that inside of a function, right?

Right, as you need a SELECT to actually execute your function, so the
transaction commands inside the function are invoced _after_ the first
SELECT began execution.

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


pgsql-sql by date:

Previous
From: Mario Splivalo
Date:
Subject: Re: Changing the transaction isolation level within the
Next
From: Markus Schaber
Date:
Subject: Re: Changing the transaction isolation level within the stored