how can i get back an RAISE NOTICE from a function?
a sample of the function:
Code: Select all
CREATE OR REPLACE FUNCTION "public"."friedl" () RETURNS integer AS
$body$
begin
raise notice 'error is on';
return 0;
end;
$body$
LANGUAGE 'plpgsql' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER;