From: | Carlos Carcamo <eazyduiz(at)gmail(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | execute trigger after another one |
Date: | 2014-12-04 22:38:43 |
Message-ID: | CADpTsTb_LCBvz7C9K=RUUzLEMtm3HnM_iPMtyc3VxTDzQ24FGg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello list, hope you're well.
I need some help with postgres.
I have two triggers that are executed after insert, update and delete.
One trigger is with plpgsql language and the other one is with
pl/python, the first one just update some tables and last one calls a
*.sh that is executed to perform some stuff, both triggers works
great, the problem is that I need that the triggers execute in order,
first the plpgsql and then the plpython one.
I read about order of execution of triggers, is supposed that postgres
executes triggers in alphabetical order, so I called the plpgsql
a_trigger and the second one b_trigger (as an example), but it seems
that the second one always executes first.
Is there any way to make triggers execute in a specific order?
Thanks in advance.
--
"El desarrollo no es material es un estado de conciencia mental"
From | Date | Subject | |
---|---|---|---|
Next Message | David G Johnston | 2014-12-04 22:46:58 | Re: execute trigger after another one |
Previous Message | Jeff Janes | 2014-12-04 20:13:16 | Re: Vacuum freeze |