thanks.  this is ticket #2228, issue is only in Python 3 if you want to stay on 
2 for now, patch is attached in the meantime before the ticket is fixed.





On Jul 22, 2011, at 9:19 AM, ddarko wrote:

> To reproduce the error is needed:
> Python 3.2.0
> SqlAlchemy 0.7.1
> I use PostgreSQL 8.4 + psycopg2 2.4.2 but I think it does not matter.
> 
> Contents of the table in the database before running the script. This
> is important.
> 
> test2=# SELECT * from fl_opts ;
> key | value
> -----+-------
> b   | 3
> (1 row)
> 
> If the table is empty, everything works fine.
> However, if in the course of one transaction are trying to make
> modifications and add a record appears in an error described earlier.
> 
> Test script: http://pastebin.com/vNPGm0j1
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

Attachment: 2228.patch
Description: Binary data

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to