psycopg.ProgrammingError: ERROR: current transaction is aborted,
commands ignored until end of transaction block
I get them when debugging queries and something goes awry wherein I
have to restart the interpreter and import everything again. Any help?
I have no experience with psycopg ...
Luke Skibinski Holt
programming error means something wrong in the sql query
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
Execute these commands after the error occured:
>>> from django.core import db
>>> db.db.rollback()
Andreas
Luke Skibinski Holt
>>> from django.core.db import db
>>> db.cursor().close()
>>> db.connection.autocommit()
Then you don't need to do a rollback and lose your cursor every time
you get a database error.