Re: Return of INSTEAD rules

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Manfred Koizar <mkoi-pg(at)aon(dot)at>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Michael Paesold <mpaesold(at)gmx(dot)at>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Return of INSTEAD rules
Date: 2002-10-04 15:49:31
Message-ID: 200210041549.g94FnVZ07136@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I am confused how yours differs from mine. I don't see how the last
> > matching tagged query would not be from an INSTEAD rule.
>
> You could have both INSTEAD and non-INSTEAD rules firing for the same
> original query. If the alphabetically-last rule is a non-INSTEAD rule,
> then there's a difference.

How do we get multiple rules on a query? I thought it was mostly
INSERT/UPDATE/DELETE, and those all operate on a single table.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-10-04 15:56:22 Re: Threaded Sorting
Previous Message Bruce Momjian 2002-10-04 15:48:33 Re: Potential Large Performance Gain in WAL synching