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

From Alvaro Herrera
Subject Can I assume there's only one _RETURN rule?
Date
Msg-id 20060817222926.GI318@alvh.no-ip.org
Whole thread Raw
Responses Re: Can I assume there's only one _RETURN rule?
List pgsql-hackers
Hi,

I'm reworking Bernd's updatable views patch.  I haven't found any
showstoppers yet, which doesn't mean there aren't any.  On the other
hand, the functionality is severely limited, per spec, so really the
thing is not all that difficult.

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?  This seems awfully obvious to me (i.e. it doesn't make any
sense two have two), and I see no way to make things otherwise using SQL
commands.  Also it seems only rules can have CMD_SELECT rules anyway; is
that correct?

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.

Thanks.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Autovacuum on by default?
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] WIP archive_timeout patch