Re: Deprecating RULES

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Daniel Farina <daniel(at)heroku(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Deprecating RULES
Date: 2012-10-12 19:18:41
Message-ID: CA+TgmoanoX4toVOO9pwFrBMK7h6CAFN27oVb5naPSvZhf6XVNA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 12, 2012 at 3:10 PM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
> On 12 October 2012 20:01, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> We know that rules are a bad fit for
>> almost everything, *but we can't assume that our users all know that
>> when it isn't even documented*.
>
> I agree that we should document that rules are something that should
> almost certainly be avoided. Up until recently, the advice surrounding
> commit_delay in the docs said something practically indistinguishable
> from "you don't want to use this". Why not do the same for rules?

I completely agree.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-10-12 19:23:12 Re: Truncate if exists
Previous Message Robert Haas 2012-10-12 19:17:59 Re: No, pg_size_pretty(numeric) was not such a hot idea