Hi, I have this: CREATE FUNCTION queue_add() RETURNS OPAQUE AS 'BEGIN INSERT INTO queue ( count, price ) VALUES ( NEW.count, NEW.price ); RETURN NEW; END;' LANGUAGE 'plpgsql' ; I can't figure out how to do this with LANGUAGE 'sql'. Any ideas? Thanks, -itai