I am going to answer my own post here since I found more info in some threads posted here.
My real question now is: does the OLD variable work at all in plpgsql?
If not, then some major documentation, books and many posted messages appear to be wrong!
It certainly works in BEFORE DELETE triggers. I use several of them (PostgreSQL 7.4).
-- Alban Hertroys MAG Productions
T: +31(0)53 4346874 F: +31(0)53 4346876 E: alban@xxxxxxxxxxxxxxxxx W: http://www.magproductions.nl
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)