How to fix Duplicate function in PostgreSQL | DevErrors