vacuum

PostgreSQL – how to run VACUUM from code outside transaction block?

PostgreSQL – how to run VACUUM from code outside transaction block? Question: I am using Python with psycopg2 and I’m trying to run a full VACUUM after a daily operation which inserts several thousand rows. The problem is that when I try to run the VACUUM command within my code I get the following error: …

Total answers: 8