I don't know if you can quite write the generalized notification function you want in plpgsql or not, but you can
certainlywrite the meta-function that create the function for any table ;-)
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice