I have the following schema setup in PG 8.4 SQLFiddle
The idea is to write a generic function so that when ever the article relation is updated or the workshop relation is updated then the modified date is set to the current date.
I have this building fine but the functoion does not appear to actually update the date when ut should. This question looked interesting but it was not a generaly purpose function: Accepted answer.
What should I be doing to get thsi working?