plpgsql_check is next generation of plpgsql_lint. It allows to check source code by explicit call plpgsql_check_function.