Hello list,
I want to do a VACUUM FULL ANALYZE in database maintenance code with SA.
When i do:
metadata.engine.execute("VACUUM FULL ANALYZE;")
I get:
SQLError: (ProgrammingError) VACUUM cannot run inside a transaction block
'VACUUM FULL ANALYZE;' {}
Is there a workaround. How would i execute stuff outside a transaction?
--
Cheers, Sol.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users