Edna's implementation of psycopg pooling