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

From John Sidney-Woollett
Subject Re: How do I call multiple functions in one trigger?
Date
Msg-id 4994.192.168.0.64.1077012423.squirrel@mercury.wardbrook.com
Whole thread Raw
In response to Re: How do I call multiple functions in one trigger?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane said:
> "Wei Wang" <ww220@cam.ac.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

pgsql-general by date:

Previous
From: Antonios Christofides
Date:
Subject: Re: Cascade delete triggers change user credentials
Next
From: Pascal Polleunus
Date:
Subject: function returning a record