This project is archived and is in readonly mode.

#116 ✓hold
Psycopg website

Hangs on insert when using RealDictCursor

Reported by Psycopg website | July 20th, 2012 @ 09:04 PM

Submitted by: Jeff Shanab

Traceback (most recent call last):
  File "C:\Program Files (x86)\MVSArchiveServerD_x86-1.2.15\scripts\InstallDb.py", line 504, in <module>
    installer.checkSchemaVersion()
  File "C:\Program Files (x86)\MVSArchiveServerD_x86-1.2.15\scripts\InstallDb.py", line 319, in checkSchemaVersion
    updater.go(self)
  File "DbUpdates\1.2.13_1.2.15\DbUpdate.py", line 324, in go
    rowConverter.Upsert(destination)
  File "DbUpdates\1.2.13_1.2.15\DbUpdate.py", line 144, in Upsert
    dstCursor.execute(command, self.dstdict)
  File "C:\Python27\lib\site-packages\psycopg2\extras.py", line 222, in execute
    return _cursor.execute(self, query, vars)
KeyboardInterrupt

I have to stop it. 1 core of the CPU is maxed on python. I switched a working DictCursor to RealDictCursor so i could modify the columns during an upgrade

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

Tags

Pages