-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Bayer ha scritto: > Manlio Perillo wrote: > Hi. > > I'm experiencing a strange problem with a multi INSERT statement. > > Strange because I'm unable to reproduce it. > > Here are both SQLAlchemy (trunk) and PostgreSQL (8.3) logs: > > [...] >> not sure either. My approach here would be to slowly walk it back to a >> simpler case. Edit the YAML file to a smaller and smaller set of data, >> removing elements one at a time, including fewer records, fewer characters >> within each record, reduction of non-ascii chars, until the element that >> creates the problem is identified. >
Ok, forget this, sorry. The problem is not with SQLAlchemy. I'm using the ltree extension of PostgreSQL: http://www.postgresql.org/docs/8.4/static/ltree.html and the syntax error was raised by the ltree module, since a label tree field can not contain a '-' character. Regards Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktnCrIACgkQscQJ24LbaUSq+gCggtXqdH5AUIHB1J1mpDFZGwVM xHQAn0Ynf8ksxoSD8i7he68PqZTlhDgP =nrl5 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@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.