Re: rules problem

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Georgi Chorbadzhiyski <gf(at)unixsol(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: rules problem
Date: 2003-03-21 15:43:39
Message-ID: m3znno67ys.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Georgi Chorbadzhiyski <gf(at)unixsol(dot)org> writes:

> Hi, I have strange problem with rules. It looks like when multiple rows
> are affected, the rule is executed only for the first row.
> Is this expected behaviour? Please someone hit me with a cluebat :)

Rules are not triggers. They are rewritings of the query into a
different form.

It looks like you want a trigger.

-Doug

In response to

  • rules problem at 2003-03-21 10:18:01 from Georgi Chorbadzhiyski

Browse pgsql-general by date

  From Date Subject
Next Message Razvan 2003-03-21 16:05:19 How can I save/load all triggers/stored procedures from a file?
Previous Message Fernando Schapachnik 2003-03-21 15:30:54 Posts get losts