Passing NEW to function - Mailing list pgsql-general

From Darko Prenosil
Subject Passing NEW to function
Date
Msg-id 200307041256.46453.darko.prenosil@finteh.hr
Whole thread Raw
List pgsql-general
    Is there a way to pass NEW or OLD from inside of trigger into some function ?
I have situation where "versions" of row calculations are offten changed, so I
would like to make "case" with function calls depending on version number.
If I make case with actual code inside trigger function, it becomes big and
unreadable.

Any ideas ?

Regards, Darko.

pgsql-general by date:

Previous
From: mixo
Date:
Subject: Unicode errors?
Next
From: Jean-Michel POURE
Date:
Subject: Re: [pgadmin-hackers] pgAdmin III - Call for Translators