[ADMIN] triggers are not shared between parent and child tables?

2012-03-11 Thread Rural Hunter
I implemented table partition recently and found that the tiggers on parent table are not working any more, except the before insert trigger which redirects data to children table. The after insert/update triggers are not working now. I understand the after insert trigger may not working since

Re: [ADMIN] triggers are not shared between parent and child tables?

2012-03-12 Thread Kevin Grittner
Rural Hunter wrote: > "triggers are not shared between parent and child tables". is it > true? Yes. You can use the same trigger *function* for more than one trigger though. -Kevin -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: ht

Re: [ADMIN] triggers are not shared between parent and child tables?

2012-03-12 Thread Rural Hunter
yes, I understand that. but is it worth mentioning in the doc? 于2012年3月12日 22:11:16,Kevin Grittner写到: Rural Hunter wrote: "triggers are not shared between parent and child tables". is it true? Yes. You can use the same trigger *function* for more than one trigger though. -Kevin -- Se

Re: [ADMIN] triggers are not shared between parent and child tables?

2012-03-12 Thread Kevin Grittner
Rural Hunter wrote: > is it worth mentioning in the doc? Do you have a suggestion for what language you would have found helpful, or which section(s) of the docs should be modified? -Kevin -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscriptio

Re: [ADMIN] triggers are not shared between parent and child tables?

2012-03-12 Thread Rural Hunter
hmmif you ask me, I would like to suggest add this part in the fisrt step(create the master table) of 5.9.2 of this doc: http://www.postgresql.org/docs/9.1/static/ddl-partitioning.html The doc mentions here that there is no point to define indexes/constraints on parent table. But it didn't m