Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经为 postgres 连接池配置了 pgpool-II,我想禁用 psycopg2 连接池。我该怎么做呢?
谢谢!
psycopg2psycopg.pool除非您明确使用该模块,否则不会汇集连接。
psycopg2
psycopg.pool
我不认为你可以。Dan McKinley 在他的博文Python PostgreSQL Driver Authors Hate You中哀叹了这一事实(以及其他一些有趣的问题)。