Re: How do I call multiple functions in one trigger?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Wei Wang" <ww220(at)cam(dot)ac(dot)uk>
Cc: "pgsql" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How do I call multiple functions in one trigger?
Date: 2004-02-16 18:27:43
Message-ID: 27063.1076956063@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Wei Wang" <ww220(at)cam(dot)ac(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2004-02-16 18:33:31 Re: making tsearch2 dictionaries
Previous Message Teodor Sigaev 2004-02-16 17:53:24 Re: making tsearch2 dictionaries