views:

230

answers:

2

i have configured pgpool-II for postgres connection pooling and i want to disable psycopg2 connection pooling. how do i do this?

thanks!

A: 

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.

TML
+2  A: 

psycopg2 doesn't pool connections unless you explicitely use the psycopg.pool module.

piro