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

Re: Partition: use triggers instead of rules

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Docs <pgsql-docs(at)postgresql(dot)org>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Partition: use triggers instead of rules
Date: 2007-11-28 20:46:45
Message-ID: 20071128204644.GJ24146@fetter.org (view raw or flat)
Thread:
Lists: pgsql-docspgsql-patches
On Wed, Nov 28, 2007 at 12:41:20PM -0800, David Fetter wrote:
> On Wed, Nov 28, 2007 at 12:39:04PM -0800, Joshua D. Drake wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Wed, 28 Nov 2007 12:26:15 -0800
> > David Fetter <david(at)fetter(dot)org> wrote:
> > 
> > > Folks,
> > > 
> > > Best practices for partitioning so far have shown that TRIGGERs are
> > > better than RULEs for most cases.  Please find attached a patch which
> > > reflects this.
> > > 
> > > Thanks to Robert Treat for help putting this together :)
> > > 
> > > Cheers,
> > > David.
> > 
> > +1
> > 
> > Joshua D. Drake
> 
> Per Robert, I've also dropped the UNION partitioning suggestion as
> it's pretty useless.

Oops.  Patch including *both* changes attached this time.

Cheers,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

pgsql-docs by date

Next:From: Tom LaneDate: 2007-11-28 20:53:04
Subject: Re: Partition: use triggers instead of rules
Previous:From: David FetterDate: 2007-11-28 20:41:20
Subject: Re: Partition: use triggers instead of rules

pgsql-patches by date

Next:From: Tom LaneDate: 2007-11-28 20:53:04
Subject: Re: Partition: use triggers instead of rules
Previous:From: David FetterDate: 2007-11-28 20:41:20
Subject: Re: Partition: use triggers instead of rules

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