Source: Python PostgreSQL Connection Pooling Using Psycopg2 – GeeksforGeeks