would need to see a working example, however I'd be careful about naming tables ALL_UPPERCASE like that, that means you're dealing with a case-sensitive name. Typically, names should be all lower case, indicating "case insensitive", which is easier to deal with. Seems like there might be more than one version of the name "my_table" floating around.
On Apr 17, 2013, at 4:53 AM, Davide Setti <[email protected]> wrote: > Hi all, > i'm trying to avoid to do the expensive autoload every time i access a table. > I found this question > http://stackoverflow.com/questions/11785457/sqlalchemy-autoloaded-orm-persistence > . If i try to do the same i get errors. > > When i query (select) the Table created using unpickled metadata i get "table > name \"MY_TABLE\" specified more than once", and in the PostgreSQL logs i > find 'SELECT [cut] FROM "TABLE", "TABLE"' statements... > > I'm using SQLAlchemy 0.8.0 and Postgresql 9.1. > > Any ideas? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sqlalchemy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
