Re: Can I assume there's only one _RETURN rule?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can I assume there's only one _RETURN rule?
Date: 2006-08-18 00:52:45
Message-ID: 1174.1155862365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I'm rewriting several parts of the patch, and have a question. Can I
> assume that there is only one rule on the CMD_SELECT event, for any
> given view?

Yeah. See the restrictions enforced by DefineQueryRewrite() for
details. There's also a unique index on pg_rewrite that would
have answered $SUBJECT for you ;-)

> Something else -- on the rewrite code I see mentioned a lot of times the
> acronym RIR (like in fireRIRrules); what does RIR stand for? I can't
> find it anywhere.

Damifino ... Jan might remember.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-18 01:01:23 Re: Autovacuum on by default?
Previous Message ITAGAKI Takahiro 2006-08-18 00:50:29 Re: pgstattuple extension for indexes