On Jun 27, 2008, at 5:03 PM, Matt Haggard wrote:

>
> INSERT or UPDATE?  I don't do any inserts with this code... only
> changing what's already there.
>
> Is an integrity constraint a PG thing, or SQLAlchemy model thing?

its a PG thing.  Other things can likely cause PG to get into this  
state as well.   But unless you're squashing exceptions, SQLA can't  
really let the DB get into this state without complaining loudly.

> And can I do Session.rollback() ?

sure !


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to