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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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

Attachment Content-Type Size
partition.diff text/plain 6.5 KB

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2007-11-28 20:53:04 Re: Partition: use triggers instead of rules
Previous Message David Fetter 2007-11-28 20:41:20 Re: Partition: use triggers instead of rules

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-11-28 20:53:04 Re: Partition: use triggers instead of rules
Previous Message David Fetter 2007-11-28 20:41:20 Re: Partition: use triggers instead of rules