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: (view raw, whole thread or download thread mbox)
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?


Sergio Sinuco.


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-2017 The PostgreSQL Global Development Group