Re: transaction isolation level in plpgsql function

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: "Sergey Moroz" <smo(at)mgcp(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: transaction isolation level in plpgsql function
Date: 2008-11-21 09:20:58
Message-ID: 2e78013d0811210120w50449b2cv6f07a2bbcc9516ef@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 21, 2008 at 1:19 PM, Sergey Moroz <smo(at)mgcp(dot)com> wrote:

> Is there any way to set transaction isolation level inside plpgsql
> function? In my case I have no control of transaction before function is
> started.
>
>
I don't think there can be any. You are already inside a transaction when
plpgsql function is called and there is no way to commit and start new
transaction inside plpgsql.

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2008-11-21 09:22:12 Re: Postgres mail list traffic over time
Previous Message Richard Huxton 2008-11-21 08:46:34 Re: where in (select array)