How to fix VACUUM cannot run inside a transaction block in PostgreSQL | DevErrors