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

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 (view raw or flat)
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

pgsql-novice by date

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

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