Re: Exception: "VACUUM cannot run inside a BEGIN/END block"
Karsten Hilbert <[email protected]> Sat, 29 Nov 2003 18:13:35 +0100
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
> cursor.execute("vacuum analyze")
cursor.execute('end;vacuum analyze;begin;')
we use this successfully around "create database"
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/