PostgreSQL Verifique se a função existe
psql postgres -tAc "SELECT 1 FROM pg_roles WHERE rolname='USR_NAME'"
Emmanuel Mahuni
psql postgres -tAc "SELECT 1 FROM pg_roles WHERE rolname='USR_NAME'"