How to fix 0Z000: diagnostics_exception in PostgreSQL | DevErrors