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

From: "John Sidney-Woollett" <johnsw(at)wardbrook(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Wei Wang" <ww220(at)cam(dot)ac(dot)uk>, "pgsql" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How do I call multiple functions in one trigger?
Date: 2004-02-17 10:07:03
Message-ID: 4994.192.168.0.64.1077012423.squirrel@mercury.wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane said:
> "Wei Wang" <ww220(at)cam(dot)ac(dot)uk> writes:
>> Can I call multiple functions in one trigger?

You could create a "wrapper" function that the trigger calls, which then
calls all the other functions that you need to call, in the order in which
they are defined in the wrapper function.

John Suidney-Woollett

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pascal Polleunus 2004-02-17 11:10:15 function returning a record
Previous Message Antonios Christofides 2004-02-17 08:56:09 Re: Cascade delete triggers change user credentials