Skip site navigation (1) Skip section navigation (2)

Re: транзакц

From: Nick Gazaloff <nick(at)sbin(dot)org>
To:
Cc: pgsql-ru-general <pgsql-ru-general(at)postgresql(dot)org>
Subject: Re: транзакц
Date: 2005-12-05 22:01:14
Message-ID: 4394B8AA.2000000@sbin.org (view raw or flat)
Thread:
Lists: pgsql-ru-general
Serik wrote:
> Добрый день !
> Как в процедуре (на SQL, PLPGSQL) объявить транзакцию ?
> Или она автоматом вся становится транзакцией ?

RTFM:

Functions and trigger procedures are always executed within a 
transaction established by an outer query — they cannot start or commit 
that transaction, since there would be no context for them to execute in.


-- 

С уважением,
технический директор ООО "ЦСА"
Николай Газалов
http://www.sbin.org
sip:nick(at)sbin(dot)org
+7 8793 365584
(GPG Key ID: 4396B2D0)


In response to

pgsql-ru-general by date

Next:From: SerikDate: 2005-12-06 08:28:11
Subject: Re[2]: [pgsql-ru-general] настройк
Previous:From: Nick GazaloffDate: 2005-12-05 21:58:47
Subject: Re: настройк

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group