From: Markus Schaber <schabi@logix-tt.com>
To: mario.splivalo@mobart.hr
Cc: Jaime Casanova <systemguards@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Changing the transaction isolation level within the
Date: Thu, 26 Jan 2006 09:41:37 +0100
Message-ID: <43D88B41.9040904@logix-tt.com> (raw)
In-Reply-To: <1138259311.16164.0.camel@localhost.localdomain>
References: <1138198348.8828.32.camel@localhost.localdomain>
<c2d9e70e0601250846u27ab1194sd01451a8a2c4d70d@mail.gmail.com>
<1138259311.16164.0.camel@localhost.localdomain>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, mario.splivalo@mobart.hr, systemguards@gmail.com
Subject: Re: Changing the transaction isolation level within the
In-Reply-To: <43D88B41.9040904@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox