Update libpq.py