Re: [SQLObject] Indexes with primary key

2014-08-26 Thread Gert Burger
oytman wrote: > Hi! > > On Mon, Aug 25, 2014 at 10:22:32AM +0200, Gert Burger < > gertbur...@gmail.com> wrote: > > Is it possible to create indexes using SQLO that include the current > > 'Table's primary key? > > eg DatabaseIndex(col1, col2, col3, &

[SQLObject] Indexes with primary key

2014-08-25 Thread Gert Burger
Hi Is it possible to create indexes using SQLO that include the current 'Table's primary key? eg DatabaseIndex(col1, col2, col3, 'id') Currently SQLO is complaining that the column doesn't ex

Re: [SQLObject] Possible bug in EnumCol/EnumValidator

2013-08-08 Thread Gert Burger
Oleg Broytman wrote, On 07/08/2013 19:51: > Hi! > > On Wed, Aug 07, 2013 at 11:52:15AM +0200, Gert Burger > wrote: >> Attached is a test case demonstrating the issue. Tested with version >> 1.5.0b1 and some previous versions. > >Thanks for the report! > &

[SQLObject] Possible bug in EnumCol/EnumValidator

2013-08-07 Thread Gert Burger
generation code which forces python to create unicode strings instead of normal strings. This means already encoded values will be decoded again and probably with the wrong encoding. My guess is that the EnumValidator should return only str objects that are properly encoded. Regards Gert Burger import

Re: [SQLObject] Slow/Large cache

2012-09-06 Thread Gert Burger
Oleg Broytman wrote, On 27/08/2012 10:57: > Hello! > > On Mon, Aug 27, 2012 at 10:32:50AM +0200, Gert Burger > wrote: >> We have a RPC server which CPU usage increases over time, after a week >> it will max out one core. >> >> >From my testing(Using pyras

[SQLObject] Slow/Large cache

2012-08-27 Thread Gert Burger
on how to mitigate or further debug the problem? Regards Gert Burger -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

[SQLObject] SQLObject and Multiprocessing

2011-06-01 Thread Gert Burger
Hi Can one use SQLObject with multiprocessing? For example can one create extra processes using the multiprocessing.Process using the 'inherited' sqlobject environment to handle certain database queries? Regards G

[SQLObject] Auto reconnect with postgres

2010-10-20 Thread Gert Burger
Hi SQLObject doesn't seem to reconnect to a postgres DB when its connection(s) are lost. Is SO capable of reconnecting? I saw a few post related to SO and Mysql but nothing related to PG. A grep of the source also shows that only mysqlconnection.py has reconnect logic in it. -- Regards