Re: Rules: A Modest Proposal

Поиск
Список
Период
Сортировка
От Dan Colish
Тема Re: Rules: A Modest Proposal
Дата
Msg-id 20091005152024.GD27563@funkstrom.spiretech.com
обсуждение исходный текст
Ответ на Re: Rules: A Modest Proposal  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Rules: A Modest Proposal  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Mon, Oct 05, 2009 at 09:50:18AM +0300, Peter Eisentraut wrote:
> On Sun, 2009-10-04 at 18:24 -0700, Dan Colish wrote:
> > I am not sure where that view implemenation is, but I doubt its
> > stalled because of the rule system.
> 
> It is.
> 
> >  You can definitely create updatable views using rules.
> 
> Sure you can, but they won't work in various significant corner cases.
> 
> Search the archives for "updatable views" for details.
> 

I don't even want updatable views!

I'm looking through those archives and its vague what killed them, but bad rules
are definitely part of it. However, that doesn't mean you ditch the rule system
because it didn't work for this particular situation.

Maybe you could highlight some messages that point to the precise corner cases
that make rules so bad? I would expect these corner cases would have nothing to
do with updatable views, since they are such a bad idea to have automatically
implemented.

--
--Dan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Rules: A Modest Proposal