Update pq3.py

Prevents the behaviour in https://github.com/python-postgres/fe/issues/72 from arising.