AW: [HACKERS] Rule system

From: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
To: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>, "'Jan Wieck'" <jwieck(at)debis(dot)com>
Subject: AW: [HACKERS] Rule system
Date: 1998-08-12 09:13:50
Message-ID: 01BDC5E2.F9BC2620@zeugswettera.user.lan.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Maarten Boekhold 1998-08-12 11:01:28 Re: [HACKERS] 6.3.2. patch for functional indices
Previous Message Andreas Zeugswetter 1998-08-12 08:57:32 AW: [HACKERS] partial index