Re: Rules: A Modest Proposal - Mailing list pgsql-hackers

From Dan Colish
Subject Re: Rules: A Modest Proposal
Date
Msg-id 20091005152024.GD27563@funkstrom.spiretech.com
Whole thread Raw
In response to Re: Rules: A Modest Proposal  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Rules: A Modest Proposal
List 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 by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)?
Next
From: Alvaro Herrera
Date:
Subject: Re: Rules: A Modest Proposal