Skip site navigation (1) Skip section navigation (2)

Re: Partition: use triggers instead of rules

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PostgreSQL Docs <pgsql-docs(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Partition: use triggers instead of rules
Date: 2007-11-28 22:17:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-patches
David Fetter <david(at)fetter(dot)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

In response to


pgsql-docs by date

Next:From: Bruce MomjianDate: 2007-11-28 22:36:21
Subject: Re: PITR Doc clarifications
Previous:From: Bruce MomjianDate: 2007-11-28 21:47:59
Subject: Re: Two fixes for plpgsql.sgml

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-11-28 22:31:55
Subject: Re: V1.1 patch for TODO Item: SQL-language reference parameters by name.
Previous:From: Andrew DunstanDate: 2007-11-28 22:13:08
Subject: Re: [HACKERS] plperl and regexps with accented characters - incompatible?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group