How to fix Cannot vacuum "table": it is a temporary table in PostgreSQL | DevErrors