Re: Modification in the django.db.backends.postgresql.base

2006-10-18 Thread Rafael SDM Sierra
On 10/18/06, Niels <[EMAIL PROTECTED]> wrote: Rafael SDM Sierra wrote:> Hi, Trying to make Django to use really only ONE connection to ONE process> (like 1000 Threads using 1 connection) I've altered postgresql backend at> base.py. The beta (aka bugged) version is here: >> http://pastebin.com/80864

Re: Modification in the django.db.backends.postgresql.base

2006-10-18 Thread Niels
Rafael SDM Sierra wrote: > Hi, Trying to make Django to use really only ONE connection to ONE process > (like 1000 Threads using 1 connection) I've altered postgresql backend at > base.py. The beta (aka bugged) version is here: > > http://pastebin.com/808647 > > My question is if this alteration (

Re: Modification in the django.db.backends.postgresql.base

2006-10-17 Thread Rafael SDM Sierra
On 10/17/06, Mario Gonzalez ( mario__ ) <[EMAIL PROTECTED]> wrote: On 17/10/06, Rafael SDM Sierra <[EMAIL PROTECTED]> wrote:> ps2.: I need this a lot becouse I'm using FreeBSD, and it start only 50> connections simultaneously, but my system use   but you can change that and default, postgres suppor

Re: Modification in the django.db.backends.postgresql.base

2006-10-17 Thread Mario Gonzalez ( mario__ )
On 17/10/06, Rafael SDM Sierra <[EMAIL PROTECTED]> wrote: > ps2.: I need this a lot becouse I'm using FreeBSD, and it start only 50 > connections simultaneously, but my system use but you can change that and default, postgres support 100 connections (2 for superuser) > -- http://www.advogato

Modification in the django.db.backends.postgresql.base

2006-10-17 Thread Rafael SDM Sierra
Hi, Trying to make Django to use really only ONE connection to ONE process (like 1000 Threads using 1 connection) I've altered postgresql backend at base.py. The beta (aka bugged) version is here: http://pastebin.com/808647 My question is if this alteration (turn the connection variable to be a C