This project is archived and is in readonly mode.
![Psycopg website Psycopg website](/images/avatar-large.gif)
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
-
Daniele Varrazzo July 20th, 2012 @ 10:29 PM
Does it hang forever or just takes longer to complete?
Can you provide a self-contained test case for the problem?
Thank you.
-
Daniele Varrazzo August 14th, 2012 @ 09:21 PM
- State changed from new to hold
I'm putting this bug on hold: I haven't got enough info to fix it. Please provide a test case if you care.
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.