Partitioning: avoid insert in master table

From: Sergio Sinuco <sergiosinuco(at)datatraffic(dot)com(dot)co>
To: pgsql-novice(at)postgresql(dot)org
Subject: Partitioning: avoid insert in master table
Date: 2012-01-03 23:30:13
Message-ID: CAHn1vgH_ConTmAYf5OQwv-=9-zRX+mOaWYjxLRP1s-tgxkcR0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi everyone. I have problems with the trigger in master table in a basic
table partitioning. The trigger is "ON BEFORE INSERT" and return NULL, but
the row is inserted in the master and child table. I'm using Postgresql
8.4. What can I do?

Thanks,

Sergio Sinuco.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Thom Brown 2012-01-04 00:18:32 Re: error tryiing to insert with collate
Previous Message avalon78 geek 2012-01-03 12:24:44 Re: ERROR: invalid input syntax for integer: SQL state: 22P02