How to fix 0Z002: stacked_diagnostics_accessed_without_active_handler in PostgreSQL | DevErrors