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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-ru-general by date

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