Re: Deprecating RULES

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Daniel Farina <daniel(at)heroku(dot)com>, darren(at)darrenduncan(dot)net, Peter Geoghegan <peter(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Deprecating RULES
Date: 2012-10-17 17:12:47
Message-ID: CA+U5nMLPwAeDhixtvjeL1X17sDxi_jX3brMaF58O4Kiyb6HJgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17 October 2012 18:02, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:

> Note: Do not use, use Triggers with Functions instead <link>

Agreed, something simple is required. I suggest expanding that just a little...

"Rules are a non-SQL Standard feature and where possible we recommend
that you write your applications using triggers, views and functions
instead. Although not likely to be fully deprecated soon, the use of
rules is now actively discouraged."

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2012-10-17 17:13:47 Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows
Previous Message Joshua D. Drake 2012-10-17 17:02:29 Re: Deprecating RULES