Hi,

Thanks for the reply. I probably was not clear enough. I am referring
specifically to Postgresql column constraints (http://
www.postgresql.org/docs/8.3/interactive/sql-createtable.html). These
attributes allow you to create a relation where constraints are
present on both tables and they enforce the presence of the primary
keys before you insert the many-to-many row in the table that makes
that relation (I hope you understand what I just wrote ;) ). Having
these attributes set allow you to do a lazy checking of constraints at
the commit time, not at the insert time. When I did not have them set,
I got an error while making inserts. It seemed like Elixir do not pay
attention on the order of insertions (it wants to insert values into
the relation-binding table before it inserted the reffered values
itself). However I began to wonder what do you mean with this
"lazy=False" attribute, as I did not come across it earlier. I will
have to check it, maybe it is the parameter I need.
I can send you the modified file, but should I paste the whole file
here, or just the diffs or maybe email you?

Best regards,
Lukasz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to