This used to work pretty well under mysql but I'm now having trouble with the following under postgresql:

#!/usr/bin/env python

import sqlobject
connection = sqlobject.connectionForURI("postgres://connection_string_here")
sqlobject.sqlhub.processConnection = connection

def qa(query):
    print "\tRunnng query: ", query
    return connection.queryAll(query)

qa("drop table the_wines_backup")


Now it does drop the table, so that's good.  But it also errors out with this error message:

  Runnng query:  drop table the_wines_backup
Traceback (most recent call last):
  File "./", line 13, in <module>
    qa("drop table the_wines_backup")
  File "./", line 10, in qa
    return connection.queryAll(query)
  File "/usr/lib/python2.5/site-packages/SQLObject-0.10.2-py2.5.egg/sqlobject/", line 350, in queryAll
    return self._runWithConnection(self._queryAll, s)
  File "/usr/lib/python2.5/site-packages/SQLObject-0.10.2-py2.5.egg/sqlobject/", line 250, in _runWithConnection
    val = meth(conn, *args)
  File "/usr/lib/python2.5/site-packages/SQLObject-0.10.2-py2.5.egg/sqlobject/", line 344, in _queryAll
    value = c.fetchall()
psycopg2.ProgrammingError: no results to fetch

Any ideas what's wrong?