Re: A bug in triggers PG 7.1.3 or misunderstand ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A bug in triggers PG 7.1.3 or misunderstand ?
Дата
Msg-id 28856.1001608373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на A bug in triggers PG 7.1.3 or misunderstand ?  (domingo@dad-it.com (Domingo Alvarez Duarte))
Список pgsql-sql
I think you need "return old", not "return new", in the body of the
trigger if you want the delete to take place.  new would be NULL in
a delete situation ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PARSER ERROR persists ....
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aggregate Aggravation