CREATE OR REPLACE FUNCTION test_notice() RETURNS boolean AS $$ begin RAISE NOTICE '11111'; return 'f'; end; $$ LANGUAGE plpgsql;