Postgres Function Vs Procedure In Plsql