LOAD 'plpgsql'; CREATE FUNCTION plpgsql_check_function_tb(funcoid regprocedure, relid regclass DEFAULT 0, fatal_errors boolean DEFAULT true, others_warnings boolean DEFAULT true, performance_warnings boolean DEFAULT false) RETURNS TABLE(functionid regproc, lineno int, statement text, sqlstate text, message text, detail text, hint text, level text, "position" int, query text, context text) AS 'MODULE_PATHNAME' LANGUAGE C STRICT; CREATE FUNCTION plpgsql_check_function(funcoid regprocedure, relid regclass DEFAULT 0, format text DEFAULT 'text', fatal_errors boolean DEFAULT true, others_warnings boolean DEFAULT true, performance_warnings boolean DEFAULT false) RETURNS SETOF text AS 'MODULE_PATHNAME' LANGUAGE C STRICT;