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.