transaction in function

Поиск
Список
Период
Сортировка
От Marian POPESCU
Тема transaction in function
Дата
Msg-id el431c$9mt$1@sea.gmane.org
обсуждение исходный текст
Ответы Re: transaction in function  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: transaction in function  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: transaction in function  (Din Adrian <adrian.din@easynet.ro>)
Список pgsql-sql
Hi,

I want to write a function that updates several tables; if there is an
exception while updating, it should rollback the transaction and raise an
error.

How can this be done in pgPLSQL in PostgreSQL 8.1 ?

Thank you for helping me out on this one !




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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: null values in non-nullable column
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: transaction in function