Re: Catching delete

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Catching delete
Дата
Msg-id 20050210225157.GB92318@winnie.fuhr.org
обсуждение исходный текст
Ответ на Catching delete  (Jamie Deppeler <jamie@doitonce.net.au>)
Список pgsql-general
On Fri, Feb 11, 2005 at 09:28:04AM +1100, Jamie Deppeler wrote:
>
> have a pretty simple question i know its possible to catch a delete
> statement through a trigger is it possible to prevent the delete from
> happing through the same trigger function?

The trigger documentation describes how a trigger can affect the
attempted operation:

http://www.postgresql.org/docs/8.0/static/triggers.html
http://www.postgresql.org/docs/8.0/static/plpgsql-trigger.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Understanding EXPLAIN ANALYZE output
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Understanding EXPLAIN ANALYZE output