Resuse the connection pool created in psycopg2

后端 未结 0 513
暗喜
暗喜 2021-02-06 12:01

The code is below

import psycopg2
from psycopg2 import pool
try:
    postgreSQL_pool = psycopg2.pool.SimpleConnectionPool(1, 20,user = "postgres",
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题