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 by date:
Соглашаюсь с условиями обработки персональных данных