Re: Musings on Triggers

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Musings on Triggers
Дата
Msg-id 20051206171656.GA97243@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Musings on Triggers  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-novice
On Tue, Dec 06, 2005 at 05:36:45PM +0100, A. Kretschmer wrote:
> am  06.12.2005, um 10:49:31 -0500 mailte Joshua Kramer folgendes:
> > Can a trigger in a table in Database_A alter/insert data in a table in
> > Database_B?
>
> No, you can't. (except with dblink)

Or with procedural languages like PL/Perl that allow you to do just
about anything you want (connect to another database, send email,
etc.).  However, a drawback is that you don't get transactional
semantics: if you roll back the transaction there's no way to undo
the trigger's actions.

--
Michael Fuhr

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

Предыдущее
От: "Obe, Regina DND\\MIS"
Дата:
Сообщение: How to see detailed plan of a funciton
Следующее
От:
Дата:
Сообщение: Re: SQL Statement Help Needed