pgcom.connector.Connector.restart_pool

Connector.restart_pool() psycopg2.pool.SimpleConnectionPool[source]

Close all the connections and create a new pool.