]> git.decadent.org.uk Git - dak.git/commit
Use with statement instead of temporary table
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 11 May 2012 13:09:52 +0000 (15:09 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Fri, 11 May 2012 13:23:29 +0000 (15:23 +0200)
commitc9f2c29661e8d95215966aa52228febe0fec50cf
treeee4e63e82c36e9d17db845aca41928b72b0d5995
parentdc922f3bb6a64fc9172b3650bbaf7a4a60d8e6c9
Use with statement instead of temporary table

SQLAlchemy might use server-side cursors and prepend a

  DECLARE "..." CURSOR WITHOUT HOLD FOR

to the statement.  This does not work if the statement starts with creating a
temporary table.
daklib/contents.py