The project I work on is attempting to use the PLSQL scanner and modified rules to apply to Postgres plpgsql.
This isn’t ideal, but appears to give them some use.
The log file generated in the scan is very large though and the process takes quite a while.
There are a large amount of warn: Parse Error. One for each function/procedure declaration and BEGIN in the code. I expect this because the declarations in pg differ to oracle.