AW: [HACKERS] Rule system

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема AW: [HACKERS] Rule system
Дата
Msg-id 01BDC5E2.F9BC2620@zeugswettera.user.lan.at
обсуждение исходный текст
Ответы Re: AW: [HACKERS] Rule system
Список pgsql-hackers
Jan Wieck wrote:
> What  else  must be there? I think everything on the instance
> level  is  better  done  by   triggers.   And   if   we   add
> row-/statement-level  triggers  on  SELECT, there would be no
> reason left to have  non-instead  rules.   Or  am  I  missing
> something?
While this is in my opinion true, it would be nice to extend the trigger syntax to
allow the triggered action to be expressed in sql like:

create trigger blabla after delete on people
referencing old as o
(insert into graves values (o.*));    -- disregard the syntax

Andreas


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

Предыдущее
От: Andreas Zeugswetter
Дата:
Сообщение: AW: [HACKERS] partial index
Следующее
От: Maarten Boekhold
Дата:
Сообщение: Re: [HACKERS] 6.3.2. patch for functional indices