[sqlalchemy] Re: temporary tables support

2007-05-28 Thread dvd
On May 28, 10:49 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > On May 28, 2007, at 11:57 AM, dvd wrote: > > > > > If temporary tables are useful for other people, I can write an > > acceptable patch > > to the Table/Engine code (currently I don't e

[sqlalchemy] temporary tables support

2007-05-28 Thread dvd
Hi all, I need to create a temporary table on PostgreSQL, but unfortunately the Table object doesn't support this. I'd like to know how to obtain the "CREATE TABLE" instruction out of a Table object without actually creating it. That way I can alter the SQL instruction with something like this:

[sqlalchemy] reflection of unicode columns

2007-03-15 Thread dvd
Hi all, I'm working with postgres and sqlalchemy, I found a strange behavior (a bug?) of the reflection code, take a look at this: # import sqlalchemy as sa engine = sa.create_engine('postgres://xxx:[EMAIL PROTECTED]/xxx') metadata =