Triggers after insert

Поиск
Список
Период
Сортировка
От Fran Fabrizio
Тема Triggers after insert
Дата
Msg-id 3BD84892.C25D98CE@mmrd.com
обсуждение исходный текст
Ответы Re: Triggers after insert  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Triggers after insert  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
I seem to be observing that on a trigger I've created to fire
AFTER INSERT, if I intentionally introduce some sort of syntax error to
the trigger for example, and insert a row, the row does not appear in
the table, even though I've declared it to fire after insert.  Shouldn't
that row be there regardless of whether the trigger does or does not
fire successfully?  Or is this currently not how it works?  The docs
seemed to indicate that it would work that way.

The end result is that I need to make sure the insert happens whether or
not the trigger is successful.

Thanks,
Fran


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

Предыдущее
От: Hervé Piedvache
Дата:
Сообщение: pg_restore and index ...
Следующее
От: "Markus Meyer"
Дата:
Сообщение: Re: Using PostgreSQL and Access?