[sqlalchemy] Re: Local cache system for Inspector.

2013-03-14 Thread Hetii
As i see now maybe its worth to change just sqlalchemy.engine.reflection.cache decorator? -- 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

Re: [sqlalchemy] [Q] SA 0.7.9 on postgres 9.1 - problem with COPY FROM command

2013-03-14 Thread Ladislav Lenart
Hello. Please ignore my previous post. The cause of the UPDATE problem is still unknown to me but it is NOT related to COPY FROM command in any way. I was just told that we are unable to perform the initial UPDATE (i.e. from an empty postgres DB to a full one) for two weeks now. The UPDATE code

Re: [sqlalchemy] Local cache system for Inspector.

2013-03-14 Thread Michael Bayer
if you have thousands of remote databases all with the same schema, you can reflect the MetaData once. If you want to use it across applications, the MetaData is pickle able, and you can load it up from a file. Basically, a traditional caching approach rather than digging a proxy. you cache

Re: [sqlalchemy] are listeners called recursively ... ?

2013-03-14 Thread Michael Bayer
On Mar 14, 2013, at 3:40 AM, Julien Cigar jci...@ulb.ac.be wrote: Hello, Stupid question on events: If I have event.listen(Folder.default_order, 'set', validate_default_order_listener), is the listener supposed to be recursively called if I'm doing something like Folder.default_order

Re: [sqlalchemy] advices

2013-03-14 Thread Michael Bayer
On Mar 12, 2013, at 5:13 AM, Julien Cigar jci...@ulb.ac.be wrote: Hello, I have written a CMS which is, among other, based on the joined load inheritance feature of SQLAlchemy. It is quite simple: the user is able to add objects in containers and can select the default polymorphic

[sqlalchemy] CURRENT_TIMESTAMP AT TIME ZONE 'UTC'

2013-03-14 Thread Jonathan Vanasco
i need to replace my calls to `sqlalchemy.func.current_timestamp()` with something that generates CURRENT_TIMESTAMP AT TIME ZONE 'UTC' anyone have quick advice ? -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group and