i have configured pgpool-II for postgres connection pooling and i want to disable psycopg2 connection pooling. how do i do this?
thanks!
i have configured pgpool-II for postgres connection pooling and i want to disable psycopg2 connection pooling. how do i do this?
thanks!
I don't think you can. Dan McKinley bemoaned this fact (among some other interesting issues) in his blog post Python PostgreSQL Driver Authors Hate You.
psycopg2
doesn't pool connections unless you explicitely use the psycopg.pool
module.