usually this happens due to the need to `mark_changed`, but that is
definitely not at play in here.
a stupid debug trick that i've been using for similar issues is to do this:
session.execute("Select True; -- possible failure A | START" );
session.add()
session.execute("Select True; -- possible failure A | after add" );
session.add()
session.execute("Select True; -- possible failure A | after commit" );
there's a tiny performance hit, but you basically get debug statements in
SqlAlchemy AND PostgreSQL. That's really helped me figure out where errors
happen.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.