Can I assume there's only one _RETURN rule?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Can I assume there's only one _RETURN rule?
Date: 2006-08-17 22:29:26
Message-ID: 20060817222926.GI318@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-17 23:11:25 Re: [PATCHES] WIP archive_timeout patch
Previous Message Alvaro Herrera 2006-08-17 21:33:44 Re: Autovacuum on by default?