Re: Exception: "VACUUM cannot run inside a BEGIN/END block"
Rene Pijlman <[email protected]> Sat, 29 Nov 2003 19:12:02 +0100
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Organization | the arrangement of parts so as to form an effective whole |
| Message-ID | <[email protected]> |
Karsten Hilbert:
>> cursor.execute("vacuum analyze")
>cursor.execute('end;vacuum analyze;begin;')
Thanks Karsten. It looks like a bug to me, but this is a good
workaround.
I'm too new to pyPgSQL to suggest a patch. Maybe later.
--
Regards / Groeten, http://www.leren.nl
René Pijlman http://www.applinet.nl
-------------------------------------------------------
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/