[EMAIL PROTECTED] (krystoffff) writes: > CREATE FUNCTION update_affiliate(int,double precision,double > precision) RETURNS void AS ' UPDATE affiliate SET balance=balance + > $2, balance_in_points=balance_in_points + ( $2 / $3 ) WHERE id = $1; ' > LANGUAGE 'sql';
I don't believe there was a type "void" in PG 7.1. IIRC, back then the custom was to say "RETURNS opaque" in this situation. It's probably time for you to update to something newer ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]