-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Bayer ha scritto: > On Feb 1, 2010, at 8:31 PM, Manlio Perillo wrote: > > Hi. > > I have defined a custom type for PostgreSQL ltree support. > > [...] > This works, when I create the table and insert some values. > However when I select data from the database, result_processor is not > called. > >> nothing unusual above and UserDefinedType.result_processor is covered in >> tests (which fail if I change result_processor, so its called), so you'll >> have to provide more specifics. >
Ok, sorry again for the noise. The cause was a literal value ('*') specified in the column clause in the select statement. Unfortunately SQLAlchemy is not (yet?) smart enough to deduce the types for literal queries. Thanks Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktoDekACgkQscQJ24LbaUTSLQCgjc8egOSlx3Qq8spcyczRjKpJ HkcAoItDI4+sCGSTUaMkbBL7JDGxBT95 =kG1g -----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.