Re: Deprecating RULES

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Deprecating RULES
Date: 2012-10-11 19:50:06
Message-ID: 25792.1349985006@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> Not many RULE-lovers out there, once you've tried to use them.
> Allowing RULEs complicates various things and can make security more difficult.

> For 9.3, I suggest we create a DDL trigger by default which prevents
> RULEs and throws an ERROR that explains they are now deprecated.

This is utter nonsense. We can't deprecate them until we have a
substitute that is better. If you want to get rid of rules, build the
replacement; don't just try to be a pain in the ass to users.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Wanner 2012-10-11 21:08:46 WAL_DEBUG logs spurious data
Previous Message Simon Riggs 2012-10-11 19:47:56 Re: change in LOCK behavior