From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | mark <dvlhntr(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: DDL partitioning with insert trigger issue |
Date: | 2010-06-15 01:12:36 |
Message-ID: | AANLkTimY7rTS1-WKUUwuFg6rXXyPxihb6LgKnHjNe-WW@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Jun 14, 2010 at 4:46 PM, mark <dvlhntr(at)gmail(dot)com> wrote:
> Hello,
>
> I am running PG 8.3. and following the guide found at
> http://www.postgresql.org/docs/current/static/ddl-partitioning.html
>
>
> I have followed the steps outlined here nearly exactly with regards to using
> an insert trigger to call a function to insert data into the child
> partition. I am wondering why I am getting the record inserted in both the
> child and the parent partition when executing an insert into the parent.
>
> Is there a step missing from the DOC? Something else I need to do?
Got a short, self-contained example of how you're doing it? My guess
is you made an after instead of before trigger.
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2010-06-15 01:26:27 | Re: Tracking SQLs that update data |
Previous Message | Dave Page | 2010-06-15 00:26:05 | Re: Unable to install pg in Win (MVR error) |