Re: Deprecating non-select rules (was Re: Last gasp)

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Deprecating non-select rules (was Re: Last gasp)
Дата
Msg-id 20120409153243.GH11987@tornado.leadboat.com
обсуждение исходный текст
Ответ на Deprecating non-select rules (was Re: Last gasp)  (Andres Freund <andres@anarazel.de>)
Ответы Re: Deprecating non-select rules (was Re: Last gasp)  (Robert Haas <robertmhaas@gmail.com>)
Re: Deprecating non-select rules (was Re: Last gasp)  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Apr 09, 2012 at 03:35:06PM +0200, Andres Freund wrote:
> On Monday, April 09, 2012 03:25:36 PM Robert Haas wrote:
> > contrib/xml2 isn't doing us much harm beyond being an ugly wart, but non-
> > SELECT rules are a land mine for the unwary at best.
> Which we could start deprecating now btw. since INSTEAD triggers landed in 
> 9.1. There were quite some use-cases for non-select rules that couldn't be 
> fullfilled before but I think saying that we won't support those rules for 
> more than 3 releases or so might be a good idea. I have seen too many bugs 
> being caused by experienced people not realizing the pitfalls of rules.

A new documentation section "Pitfalls of the Rule System" discussing the known
hazards would help users immediately and be far easier to adopt.  In contrast
to the breathless vitriol against rules that periodically appears on these
lists, current documentation barely hints at the trouble.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_prewarm
Следующее
От: Atri Sharma
Дата:
Сообщение: Regarding GSoc proposal