Re: Can I assume there's only one _RETURN rule? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Can I assume there's only one _RETURN rule?
Date
Msg-id 1174.1155862365@sss.pgh.pa.us
Whole thread Raw
In response to Can I assume there's only one _RETURN rule?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Can I assume there's only one _RETURN rule?
Re: Can I assume there's only one _RETURN rule?
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.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


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: pgstattuple extension for indexes
Next
From: Tom Lane
Date:
Subject: Re: Autovacuum on by default?