[sqlalchemy] Fwd: [Gnukhata-devel] not able to put in account name field

2011-08-07 Thread Krishnakant Mane
Hello all. This might be interesting. I don't know if we are doing some thing wrong. We use session.query on a table and for adding records we use the orm. But look at the forwarded email, I don't know what's wrong. happy hacking. Krishnakant. Original Message Subject:

Re: [sqlalchemy] Fwd: [Gnukhata-devel] not able to put in account name field

2011-08-07 Thread Michael Bayer
On Aug 7, 2011, at 8:19 AM, Krishnakant Mane wrote: Hello all. This might be interesting. I don't know if we are doing some thing wrong. We use session.query on a table and for adding records we use the orm. But look at the forwarded email, I don't know what's wrong. happy hacking. you'd

Re: [sqlalchemy] Fwd: [Gnukhata-devel] not able to put in account name field

2011-08-07 Thread Krishnakant Mane
I really don't think that's the issue. no eval is used. Secondly it did work through psycopg2 directly with postgresql If some would have the kindness to look at the code I am paisting it here. Sorry for making it long, it contains comments to explain the situation. def

Re: [sqlalchemy] Fwd: [Gnukhata-devel] not able to put in account name field

2011-08-07 Thread Michael Bayer
There's not much information there which says much about the ultimate issue. Suffice to say SQLAlchemy itself has no issue with psycopg2 and the string A B, attached is a demonstration inserting, querying, updating this value and similar in many ways. Only with a specific test case that