CREATE OR REPLACE FUNCTION my_function(n varchar) RETURNS void AS $$DECLARE ...BEGIN ...END;$$ LANGUAGE plpgsql;
It has no return. How can I invoke it? SHould I still use
select my_function('aaa')
Thanks,
autogoor