Re: Rules: A Modest Proposal

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Rules: A Modest Proposal
Дата
Msg-id 20091004193408.GI4964@fetter.org
обсуждение исходный текст
Ответ на Re: Rules: A Modest Proposal  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Rules: A Modest Proposal  (Robert Haas <robertmhaas@gmail.com>)
Re: Rules: A Modest Proposal  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Sun, Oct 04, 2009 at 11:42:45AM -0700, Josh Berkus wrote:
> > There are already patches to deal with the first, at least for the
> > kinds of VIEWs where this can be deduced automatically, and people
> > are starting to take on the second.
> 
> How would we deal with VIEWs which weren't simple enough for
> automated updating, then?

View triggers, as proposed.

> I don't think that removing a major feature, one which some users
> have written applications around, is even feasible.

*I've* written an application around them, and frankly, they are a
giant foot-gun in every case that's not already handle-able other
ways.

> What would be the benefit of this radical proposal?

The radical proposal was the RULE system.  It's been tested now, and
it's pretty much failed.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Using results from INSERT ... RETURNING
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Privileges and inheritance