<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The Rule Challenge</title>
	<link>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/</link>
	<description>an experimental blog</description>
	<pubDate>Sun, 05 Feb 2012 15:07:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Andrew</title>
		<link>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8750</link>
		<author>Andrew</author>
		<pubDate>Tue, 22 Jun 2010 17:36:48 +0000</pubDate>
		<guid>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8750</guid>
		<description>We've had more than the usual number of rules questions on IRC recently, at least that's my impression; that would probably explain the multiple recent blog posts. (And I only wrote this one because someone on IRC bugged me about it.)</description>
		<content:encoded><![CDATA[<p>We&#8217;ve had more than the usual number of rules questions on IRC recently, at least that&#8217;s my impression; that would probably explain the multiple recent blog posts. (And I only wrote this one because someone on IRC bugged me about it.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Young</title>
		<link>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8735</link>
		<author>Robert Young</author>
		<pubDate>Tue, 22 Jun 2010 12:30:56 +0000</pubDate>
		<guid>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8735</guid>
		<description>I'm not principally a PostgreSQL folk, DB2 is my main squeeze, but I do follow it a bit.  The whole rules thing is something only PG did, and that was Stonebraker's doing.  One would have to read up his rationale way back when.  From what I can find, View support is the justification for using rules, since that is the only way to get it.  There have been a few links from the PostgreSQL site to rule posts such as this recently.  I wonder why rules have become a topic du jour?

The challenge as written isn't provable; the counterexample is exhaustive enumeration of all non-trivial rules.

As to better, one of those linked posts asserts that triggers are better.  I would agree with that.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not principally a PostgreSQL folk, DB2 is my main squeeze, but I do follow it a bit.  The whole rules thing is something only PG did, and that was Stonebraker&#8217;s doing.  One would have to read up his rationale way back when.  From what I can find, View support is the justification for using rules, since that is the only way to get it.  There have been a few links from the PostgreSQL site to rule posts such as this recently.  I wonder why rules have become a topic du jour?</p>
<p>The challenge as written isn&#8217;t provable; the counterexample is exhaustive enumeration of all non-trivial rules.</p>
<p>As to better, one of those linked posts asserts that triggers are better.  I would agree with that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8710</link>
		<author>Andrew</author>
		<pubDate>Tue, 22 Jun 2010 04:41:57 +0000</pubDate>
		<guid>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8710</guid>
		<description>That is indeed the real question, but it's one for another blog post rather than this one :-)</description>
		<content:encoded><![CDATA[<p>That is indeed the real question, but it&#8217;s one for another blog post rather than this one :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Lane</title>
		<link>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8706</link>
		<author>Tom Lane</author>
		<pubDate>Tue, 22 Jun 2010 03:43:46 +0000</pubDate>
		<guid>http://blog.rhodiumtoad.org.uk/2010/06/21/the-rule-challenge/#comment-8706</guid>
		<description>Rules work all right for views (ie, ON SELECT DO INSTEAD SELECT cases).  There's no question that every other case sucks.  The *real* question is how to do better?</description>
		<content:encoded><![CDATA[<p>Rules work all right for views (ie, ON SELECT DO INSTEAD SELECT cases).  There&#8217;s no question that every other case sucks.  The *real* question is how to do better?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

