Hi Michael, sorry about the lack of information; I wasn't clear on
what you were looking for.

The failing constraint is a customer one for email addresses:

CREATE DOMAIN base.email as TEXT CHECK
        (VALUE ~ '[EMAIL PROTECTED](\\.[-\\w]+)*\\.\\w{2,4}$');

Thanks again!
Mark

On Oct 1, 5:46 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Oct 1, 2007, at 2:29 PM, [EMAIL PROTECTED] wrote:
>
>
>
>
>
> > Hi Michael,
>
> > I'm creating the session by:
>
> >   Session = sessionmaker(bind = engine,
> >                    autoflush = True,
> >                    transactional = True)
> >   session = Session()
>
> > and I'm not using any threading at all (therefore no thread-local
> > storage). The only thing between the commit and the next query is some
> > reporting of statistics (using sys.stdout).
>
> > I'm getting a constraint violation IntegrityError.
>
> unique constraint ? PK constraint ? foreign key constraint ?    are
> you doing any explicit INSERT statements of your own independent of
> the session ?
>
> I cant diagnose the problem any further on this end without an
> explicit example.


--~--~---------~--~----~------------~-------~--~----~
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