Re: Deprecating RULES - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Deprecating RULES
Date
Msg-id CAEYLb_WeC-xbWNTpjKHHj09j-mEE3W16PHC215unZF7fn8qVGA@mail.gmail.com
Whole thread Raw
In response to Re: Deprecating RULES  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On 17 October 2012 18:46, Greg Stark <stark@mit.edu> wrote:
> I would suggest something like
>
> Warning: RULES are tricky to use correctly. They rewrite the original
> query into a new query before it is run and it is very hard to
> correctly anticipate and rewrite every possible input query into the
> desired result. There are also unexpected interactions with other
> components when RULES do something unexpected such as rewrite a single
> query to return two result sets.

+1 to that sort of wording.

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Deprecating RULES
Next
From: Josh Berkus
Date:
Subject: Re: Deprecating RULES