Re: [DOCS] Partition: use triggers instead of rules - Mailing list pgsql-patches

From Tom Lane
Subject Re: [DOCS] Partition: use triggers instead of rules
Date
Msg-id 24889.1196288258@sss.pgh.pa.us
Whole thread Raw
In response to Re: [DOCS] Partition: use triggers instead of rules  (David Fetter <david@fetter.org>)
Responses Re: [DOCS] Partition: use triggers instead of rules  (David Fetter <david@fetter.org>)
List pgsql-patches
David Fetter <david@fetter.org> writes:
> On Wed, Nov 28, 2007 at 03:53:04PM -0500, Tom Lane wrote:
>> Entirely removing the example of how to do it with rules doesn't
>> seem like a good idea.

> It does to me.  I haven't found a case yet where rules worked even as
> well as triggers.

I don't have a problem with emphasizing triggers as the preferred
solution, but we should keep the older example, if only because people
are going to see DB schemas that use that approach, and they won't
understand what's going on (or realize they could convert) if they've
not seen an example.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [DOCS] Partition: use triggers instead of rules
Next
From: Bruce Momjian
Date:
Subject: Re: V1.1 patch for TODO Item: SQL-language reference parameters by name.