Calling trigger function from a function - Mailing list pgsql-novice

From Keith Worthington
Subject Calling trigger function from a function
Date
Msg-id 20050401165520.M23646@narrowpathinc.com
Whole thread Raw
List pgsql-novice
Hi All,

I have a trigger function that is normally called when table2 is updated.  I
would like to reuse this code in a circumstance where I would like to call it
once after making updates to almost every row in table1.  I can't see adding
it as a trigger to table1 as the trigger function does a lot of work.  Short
of duplicating the code and creating the identical function with a different
return type can this be done?

Kind Regards,
Keith

pgsql-novice by date:

Previous
From: "Rob Anderson"
Date:
Subject: Trying to group on date parts
Next
From: Tom Lane
Date:
Subject: Re: Trying to group on date parts