How to fix 3B001: invalid_savepoint_specification in PostgreSQL | DevErrors