How to fix 25008: held_cursor_requires_same_isolation_level in PostgreSQL | DevErrors