Re: How do I call multiple functions in one trigger? - Mailing list pgsql-general

From Tom Lane
Subject Re: How do I call multiple functions in one trigger?
Date
Msg-id 27063.1076956063@sss.pgh.pa.us
Whole thread Raw
In response to How do I call multiple functions in one trigger?  ("Wei Wang" <ww220@cam.ac.uk>)
Responses Re: How do I call multiple functions in one trigger?  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
List pgsql-general
"Wei Wang" <ww220@cam.ac.uk> writes:
> Can I call multiple functions in one trigger?

No.  Use multiple triggers.

> Postgresql won't allow me to do this. Multiple triggers won't guarantee the
> order of the operations.

Sure they will (in recent releases anyway).  Triggers are fired
alphabetically.

            regards, tom lane

pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: making tsearch2 dictionaries
Next
From: Ben
Date:
Subject: Re: making tsearch2 dictionaries