Can I assume there's only one _RETURN rule?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Can I assume there's only one _RETURN rule?
Дата
Msg-id 20060817222926.GI318@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: Can I assume there's only one _RETURN rule?
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum on by default?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] WIP archive_timeout patch