Re: BUG #2791: Error while commiting

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: BUG #2791: Error while commiting
Дата
Msg-id 20061129144610.GA32145@winnie.fuhr.org
обсуждение исходный текст
Ответ на BUG #2791: Error while commiting  ("Raman Dabhade" <raman.dabhade@coalitiondev.com>)
Список pgsql-bugs
On Tue, Nov 28, 2006 at 02:13:15PM +0000, Raman Dabhade wrote:
> ERROR:  SPI_execute_plan failed executing query "commit":
> SPI_ERROR_TRANSACTION
> CONTEXT:  PL/pgSQL function "processrecords" line 4 at SQL statement

http://www.postgresql.org/docs/8.1/interactive/plpgsql-structure.html

"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."

--
Michael Fuhr

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Jeremy Haile"
Дата:
Сообщение: Re: fsync and semctl errors with 8.1.5/win32
Следующее
От: "Jeremy Haile"
Дата:
Сообщение: Re: fsync and semctl errors with 8.1.5/win32