Question

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

Thanks!

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top