How to fix 3B000: savepoint_exception in PostgreSQL | DevErrors